From 3b508d8ced46c0706abd4a95efe34ce9972eb41a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 4 Aug 2011 00:19:04 -0400 Subject: Remove left-over temporary variables from swap macros Also, fix whitespace, mainly around swaps(&rep.sequenceNumber) Reviewed-by: Jeremy Huddleston Tested-by: Jeremy Huddleston Reviewed-by: Daniel Stone Signed-off-by: Matt Turner --- Xi/allowev.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Xi/allowev.c') diff --git a/Xi/allowev.c b/Xi/allowev.c index 96f3b543c..ff9e667b0 100644 --- a/Xi/allowev.c +++ b/Xi/allowev.c @@ -72,12 +72,10 @@ SOFTWARE. int SProcXAllowDeviceEvents(ClientPtr client) { - char n; - REQUEST(xAllowDeviceEventsReq); - swaps(&stuff->length, n); + swaps(&stuff->length); REQUEST_SIZE_MATCH(xAllowDeviceEventsReq); - swapl(&stuff->time, n); + swapl(&stuff->time); return (ProcXAllowDeviceEvents(client)); } -- cgit v1.2.3