From: Dana Jansens Date: Sat, 15 Oct 2011 17:42:30 +0000 (-0400) Subject: Remove unused variable X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=14deacc8f3fea90f26ae75f5cf718d9876104053;p=chaz%2Fopenbox Remove unused variable --- diff --git a/obt/keyboard.c b/obt/keyboard.c index 8bfdd39b..ef2678b5 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; }