Remove unused variable
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
obt/keyboard.c
→
obt/keyboard.c
@@ -389,12 +389,11 @@
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; }