Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Oct 16, 2011
1 parent 8a975cb commit 14deacc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions obt/keyboard.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 14deacc

Please sign in to comment.