aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/chgkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/chgkbd.c')
-rw-r--r--xorg-server/Xi/chgkbd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xorg-server/Xi/chgkbd.c b/xorg-server/Xi/chgkbd.c
index f9fd09902..d8139193f 100644
--- a/xorg-server/Xi/chgkbd.c
+++ b/xorg-server/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));
}