projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a975cb
)
Remove unused variable
author
Dana Jansens
<danakj@orodu.net>
Sat, 15 Oct 2011 17:42:30 +0000
(13:42 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Oct 2011 22:51:51 +0000
(18:51 -0400)
obt/keyboard.c
patch
|
blob
|
history
diff --git
a/obt/keyboard.c
b/obt/keyboard.c
index
8bfdd39
..
ef2678b
100644
(file)
--- 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;
KeySym obt_keyboard_keypress_to_keysym(XEvent *ev)
{
KeySym sym;
- gint r;
g_return_val_if_fail(ev->type == KeyPress, None);
sym = None;
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;
}
return sym;
}