diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-10-15 13:42:30 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-10-16 18:51:51 -0400 |
| commit | 14deacc8f3fea90f26ae75f5cf718d9876104053 (patch) | |
| tree | bbd042cb713b5374ca4c65f86f08934285ce2759 /obt | |
| parent | 8a975cb10051e8da0420275a43f1b49d3cce2678 (diff) | |
Remove unused variable
Diffstat (limited to 'obt')
| -rw-r--r-- | obt/keyboard.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |
