summaryrefslogtreecommitdiff
path: root/hw/xnest
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-14 16:54:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-14 17:13:34 +1000
commitbef1cfb2395df47458159a0b7ae27b9db15025ef (patch)
treeac02f928d5d1265da98a509524d0405c93a62cde /hw/xnest
parent7b6400a1b8d2f228fcbedf17c30a7e3924e4dd2a (diff)
xnest: remove unused variable 'names'.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/Keyboard.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c
index c9b4a1748..8404c8bfa 100644
--- a/hw/xnest/Keyboard.c
+++ b/hw/xnest/Keyboard.c
@@ -120,7 +120,6 @@ xnestKeyboardProc(DeviceIntPtr pDev, int onoff)
KeySymsRec keySyms;
int i;
XKeyboardState values;
- XkbComponentNamesRec names;
XkbDescPtr xkb;
XkbRMLVOSet rmlvo;
int op, event, error, major, minor;
@@ -166,7 +165,6 @@ xnestKeyboardProc(DeviceIntPtr pDev, int onoff)
}
XkbGetControls(xnestDisplay, XkbAllControlsMask, xkb);
- memset(&names, 0, sizeof(XkbComponentNamesRec));
rmlvo.rules = XKB_DFLT_RULES;
rmlvo.model = XKB_DFLT_MODEL;
rmlvo.layout = XKB_DFLT_LAYOUT;