From 14deacc8f3fea90f26ae75f5cf718d9876104053 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 15 Oct 2011 13:42:30 -0400 Subject: [PATCH] Remove unused variable --- obt/keyboard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/obt/keyboard.c b/obt/keyboard.c index 8bfdd39..ef2678b 100644 --- a/obt/keyboard.c +++ b/obt/keyboard.c @@ -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; } -- 1.9.1