summaryrefslogtreecommitdiff
path: root/Xi/chgkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/chgkbd.c')
-rw-r--r--Xi/chgkbd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xi/chgkbd.c b/Xi/chgkbd.c
index f9fd09902..d8139193f 100644
--- a/Xi/chgkbd.c
+++ b/Xi/chgkbd.c
@@ -75,10 +75,8 @@ SOFTWARE.
int
SProcXChangeKeyboardDevice(ClientPtr client)
{
- char n;
-
REQUEST(xChangeKeyboardDeviceReq);
- swaps(&stuff->length, n);
+ swaps(&stuff->length);
REQUEST_SIZE_MATCH(xChangeKeyboardDeviceReq);
return (ProcXChangeKeyboardDevice(client));
}