Fixed two warnings.
This commit is contained in:
@@ -265,7 +265,6 @@ static int
|
|||||||
ps2_poll(int x, int y, int z, int b, void *priv)
|
ps2_poll(int x, int y, int z, int b, void *priv)
|
||||||
{
|
{
|
||||||
mouse_t *dev = (mouse_t *) priv;
|
mouse_t *dev = (mouse_t *) priv;
|
||||||
uint8_t buff[3] = { 0x08, 0x00, 0x00 };
|
|
||||||
|
|
||||||
if (!x && !y && !z && (b == dev->b))
|
if (!x && !y && !z && (b == dev->b))
|
||||||
return (0xff);
|
return (0xff);
|
||||||
|
@@ -54,7 +54,6 @@ DeviceConfig::~DeviceConfig()
|
|||||||
void DeviceConfig::ConfigureDevice(const _device_* device, int instance, Settings* settings) {
|
void DeviceConfig::ConfigureDevice(const _device_* device, int instance, Settings* settings) {
|
||||||
DeviceConfig dc(settings);
|
DeviceConfig dc(settings);
|
||||||
dc.setWindowTitle(QString("%1 Device Configuration").arg(device->name));
|
dc.setWindowTitle(QString("%1 Device Configuration").arg(device->name));
|
||||||
int combo_to_struct[256];
|
|
||||||
int c, d, p, q;
|
int c, d, p, q;
|
||||||
|
|
||||||
device_context_t device_context;
|
device_context_t device_context;
|
||||||
|
Reference in New Issue
Block a user