diff options
Diffstat (limited to 'Xi/chgkmap.c')
-rw-r--r-- | Xi/chgkmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xi/chgkmap.c b/Xi/chgkmap.c index e4b9e154c..32caa2d02 100644 --- a/Xi/chgkmap.c +++ b/Xi/chgkmap.c @@ -72,11 +72,10 @@ SOFTWARE. int SProcXChangeDeviceKeyMapping(ClientPtr client) { - char n; unsigned int count; REQUEST(xChangeDeviceKeyMappingReq); - swaps(&stuff->length, n); + swaps(&stuff->length); REQUEST_AT_LEAST_SIZE(xChangeDeviceKeyMappingReq); count = stuff->keyCodes * stuff->keySymsPerKeyCode; REQUEST_FIXED_SIZE(xChangeDeviceKeyMappingReq, count * sizeof(CARD32)); |