[PATCH:xset] Remove two unused variables.
Peter Hutterer
peter.hutterer at who-t.net
Sun Dec 20 14:36:08 PST 2009
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 at who-t.net>
---
xset.c | 3 ---
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]);
--
1.6.5.2
More information about the xorg-devel
mailing list