Fixed two warnings.

This commit is contained in:
OBattler
2022-10-30 16:44:31 +01:00
parent ab9dd5372e
commit 9ec317d8e6
2 changed files with 0 additions and 2 deletions

View File

@@ -265,7 +265,6 @@ static int
ps2_poll(int x, int y, int z, int b, void *priv)
{
mouse_t *dev = (mouse_t *) priv;
uint8_t buff[3] = { 0x08, 0x00, 0x00 };
if (!x && !y && !z && (b == dev->b))
return (0xff);

View File

@@ -54,7 +54,6 @@ DeviceConfig::~DeviceConfig()
void DeviceConfig::ConfigureDevice(const _device_* device, int instance, Settings* settings) {
DeviceConfig dc(settings);
dc.setWindowTitle(QString("%1 Device Configuration").arg(device->name));
int combo_to_struct[256];
int c, d, p, q;
device_context_t device_context;