From ca4918ac2ff003142aefbd8ac7ec2bc398ccc6eb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 9 Apr 2009 19:31:04 +1000 Subject: Xi: remove fail from SProcXISelectEvent. Leftover from rebasing once too often, I guess. Signed-off-by: Peter Hutterer --- Xi/xiselectev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Xi/xiselectev.c') diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c index cdb9c6ff0..607b9b4d0 100644 --- a/Xi/xiselectev.c +++ b/Xi/xiselectev.c @@ -42,7 +42,6 @@ SProcXISelectEvent(ClientPtr client) char n; int i; xXIDeviceEventMask* evmask; - uint16_t *evtype; REQUEST(xXISelectEventsReq); swaps(&stuff->length, n); @@ -55,7 +54,7 @@ SProcXISelectEvent(ClientPtr client) { swaps(&evmask->deviceid, n); swaps(&evmask->mask_len, n); - evmask = (xXIDeviceEventMask*)(((char*)evtype) + evmask->mask_len * 4); + evmask = (xXIDeviceEventMask*)(((char*)evmask) + evmask->mask_len * 4); } return (ProcXISelectEvent(client)); -- cgit v1.2.3