summaryrefslogtreecommitdiff
path: root/xset.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-12-21 08:34:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-12-21 10:57:06 +1000
commit068dd4ce2ecb8d0225a60c736df8cc102e6edf01 (patch)
treedfdb5b63db0edb862e324118f42c3754f8e5c5f6 /xset.c
parent9caf24453cc4c2443bda9042a68a953b75ed46f1 (diff)
Remove two unused variables.
xset.c: In function ‘query’: xset.c:1388: warning: unused variable ‘ind’ xset.c:1387: warning: unused variable ‘state’ Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xset.c')
-rw-r--r--xset.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xset.c b/xset.c
index 5283b09..7458ee9 100644
--- a/xset.c
+++ b/xset.c
@@ -1384,9 +1384,6 @@ query(Display *dpy)
if (XGetAtomNames(dpy, iatoms, j, iatomnames)) {
for (i = 0; i < j; i++) {
- Bool state;
- int ind;
-
if (XkbGetNamedIndicator(dpy, iatoms[i], &inds[i],
&istates[i], NULL, NULL)) {
int namelen = strlen(iatomnames[i]);