(!2001) Xi: exevents: drop unused retvals on TryClientEvents() calls
The return values aren't used anywhere, so the assignment is not necessary. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
20df0ce063
commit
c26ce7f661
|
@ -1097,7 +1097,7 @@ DeliverOneTouchEvent(ClientPtr client, DeviceIntPtr dev, TouchPointInfoPtr ti,
|
||||||
filter = GetEventFilter(dev, xi2);
|
filter = GetEventFilter(dev, xi2);
|
||||||
if (XaceHookReceiveAccess(client, win, xi2, 1) != Success)
|
if (XaceHookReceiveAccess(client, win, xi2, 1) != Success)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
err = TryClientEvents(client, dev, xi2, 1, filter, filter, NullGrab);
|
TryClientEvents(client, dev, xi2, 1, filter, filter, NullGrab);
|
||||||
free(xi2);
|
free(xi2);
|
||||||
|
|
||||||
/* Returning the value from TryClientEvents isn't useful, since all our
|
/* Returning the value from TryClientEvents isn't useful, since all our
|
||||||
|
@ -2243,7 +2243,7 @@ DeliverOneGestureEvent(ClientPtr client, DeviceIntPtr dev, GestureInfoPtr gi,
|
||||||
filter = GetEventFilter(dev, xi2);
|
filter = GetEventFilter(dev, xi2);
|
||||||
if (XaceHookReceiveAccess(client, win, xi2, 1) != Success)
|
if (XaceHookReceiveAccess(client, win, xi2, 1) != Success)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
err = TryClientEvents(client, dev, xi2, 1, filter, filter, NullGrab);
|
TryClientEvents(client, dev, xi2, 1, filter, filter, NullGrab);
|
||||||
free(xi2);
|
free(xi2);
|
||||||
|
|
||||||
/* Returning the value from TryClientEvents isn't useful, since all our
|
/* Returning the value from TryClientEvents isn't useful, since all our
|
||||||
|
|
Loading…
Reference in New Issue