diff options
author | Matt Turner <mattst88@gmail.com> | 2011-08-04 00:19:04 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-08-04 00:19:04 -0400 |
commit | 3b508d8ced46c0706abd4a95efe34ce9972eb41a (patch) | |
tree | 7ec1825d4b3a49453ebc99f05e7497037f9a01ed /Xi/allowev.c | |
parent | b5db8e73ba366befdfa7ceaafa5a3587fff588fb (diff) |
Remove left-over temporary variables from swap macrosbswap-cleanup0
Also, fix whitespace, mainly around
swaps(&rep.sequenceNumber)
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'Xi/allowev.c')
-rw-r--r-- | Xi/allowev.c | 6 |
1 files changed, 2 insertions, 4 deletions
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)); } |