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>
This commit is contained in:
parent
63d00c6b14
commit
6133c41759
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user