summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-02-14 10:15:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-02-15 11:58:38 +1000
commit6133c417595a9c8fc158b0d68fd4a7a2c58fdc47 (patch)
treeb0b70dfd007cc78db545977a6473103c070f4fdf /xkb
parent63d00c6b146d7f5fb80f20f19066088059042a5e (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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index 7e51e4080..f2bcaee41 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -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;