kdrive/input: minor warning cleanups
And also a compiler error fix when VERIFY_SIGIO is defined.
This commit is contained in:
parent
47c1c948e6
commit
5d073697ad
|
@ -143,7 +143,7 @@ KdAssertSigioBlocked (char *where)
|
||||||
sigprocmask (SIG_BLOCK, &set, &old);
|
sigprocmask (SIG_BLOCK, &set, &old);
|
||||||
if (!sigismember (&old, SIGIO)) {
|
if (!sigismember (&old, SIGIO)) {
|
||||||
ErrorF ("SIGIO not blocked at %s\n", where);
|
ErrorF ("SIGIO not blocked at %s\n", where);
|
||||||
KdBacktrace();
|
KdBacktrace(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -387,7 +387,6 @@ static int
|
||||||
KdPointerProc(DeviceIntPtr pDevice, int onoff)
|
KdPointerProc(DeviceIntPtr pDevice, int onoff)
|
||||||
{
|
{
|
||||||
DevicePtr pDev = (DevicePtr)pDevice;
|
DevicePtr pDev = (DevicePtr)pDevice;
|
||||||
int i;
|
|
||||||
KdPointerInfo *pi;
|
KdPointerInfo *pi;
|
||||||
#ifdef XINPUT
|
#ifdef XINPUT
|
||||||
Atom xiclass;
|
Atom xiclass;
|
||||||
|
@ -716,9 +715,6 @@ KdKeyboardProc(DeviceIntPtr pDevice, int onoff)
|
||||||
Bool ret;
|
Bool ret;
|
||||||
DevicePtr pDev = (DevicePtr)pDevice;
|
DevicePtr pDev = (DevicePtr)pDevice;
|
||||||
KdKeyboardInfo *ki;
|
KdKeyboardInfo *ki;
|
||||||
#ifdef XKB
|
|
||||||
XkbComponentNamesRec names;
|
|
||||||
#endif
|
|
||||||
#ifdef XINPUT
|
#ifdef XINPUT
|
||||||
Atom xiclass;
|
Atom xiclass;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1254,7 +1250,6 @@ KdInitInput (void)
|
||||||
KdPointerInfo *pi;
|
KdPointerInfo *pi;
|
||||||
KdKeyboardInfo *ki;
|
KdKeyboardInfo *ki;
|
||||||
struct KdConfigDevice *dev;
|
struct KdConfigDevice *dev;
|
||||||
int i = 0;
|
|
||||||
|
|
||||||
kdInputEnabled = TRUE;
|
kdInputEnabled = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue