diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-14 10:15:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-15 11:58:38 +1000 |
commit | 6133c417595a9c8fc158b0d68fd4a7a2c58fdc47 (patch) | |
tree | b0b70dfd007cc78db545977a6473103c070f4fdf /xkb | |
parent | 63d00c6b146d7f5fb80f20f19066088059042a5e (diff) |
xkb: remove unused variable 'names'
xkb.c: In function '_XkbSetNamesCheck':
xkb.c:3987:18: warning: variable 'names' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkb.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3984,13 +3984,11 @@ _XkbSetNamesCheck(ClientPtr client, DeviceIntPtr dev, xkbSetNamesReq * stuff, CARD32 *data) { XkbDescRec *xkb; - XkbNamesRec *names; CARD32 *tmp; Atom bad; tmp = data; xkb = dev->key->xkbInfo->desc; - names = xkb->names; if (stuff->which & XkbKeyTypeNamesMask) { int i; |