Commit 6133c417 authored by Peter Hutterer's avatar Peter Hutterer

xkb: remove unused variable 'names'

xkb.c: In function '_XkbSetNamesCheck':
xkb.c:3987:18: warning: variable 'names' set but not used
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Alan Coopersmith's avatarAlan Coopersmith <>
Reviewed-by: Mark Kettenis's avatarMark Kettenis <>
parent 63d00c6b
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment