]> Dogcows Code - chaz/openbox/commitdiff
Remove unused variable
authorDana Jansens <danakj@orodu.net>
Sat, 15 Oct 2011 17:42:30 +0000 (13:42 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:51:51 +0000 (18:51 -0400)
obt/keyboard.c

index 8bfdd39b7f79046daa5d8a326803cbe9bfa25293..ef2678b529f15a8ab9811e798a8ceb06621d0d7f 100644 (file)
@@ -389,12 +389,11 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
 KeySym obt_keyboard_keypress_to_keysym(XEvent *ev)
 {
     KeySym sym;
-    gint r;
 
     g_return_val_if_fail(ev->type == KeyPress, None);
 
     sym = None;
-    r = XLookupString(&ev->xkey, NULL, 0, &sym, NULL);
+    XLookupString(&ev->xkey, NULL, 0, &sym, NULL);
     return sym;
 }
 
This page took 0.018268 seconds and 4 git commands to generate.