Permalink
Browse files

Remove unused variable

  • Loading branch information...
1 parent 8a975cb commit 14deacc8f3fea90f26ae75f5cf718d9876104053 @danakj danakj committed Oct 15, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 obt/keyboard.c
View
@@ -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;
}

0 comments on commit 14deacc

Please sign in to comment.