Remove unused variable

This commit is contained in:
Dana Jansens 2011-10-15 13:42:30 -04:00
parent 8a975cb100
commit 14deacc8f3

View file

@ -389,12 +389,11 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
KeySym obt_keyboard_keypress_to_keysym(XEvent *ev) KeySym obt_keyboard_keypress_to_keysym(XEvent *ev)
{ {
KeySym sym; KeySym sym;
gint r;
g_return_val_if_fail(ev->type == KeyPress, None); g_return_val_if_fail(ev->type == KeyPress, None);
sym = None; sym = None;
r = XLookupString(&ev->xkey, NULL, 0, &sym, NULL); XLookupString(&ev->xkey, NULL, 0, &sym, NULL);
return sym; return sym;
} }