diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-08-10 19:38:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-08-10 19:38:16 +0200 |
commit | 72fc88a9a11f73817d8dc609a4c104ca0445722d (patch) | |
tree | 0f989ecce2712f7196706253349b561012d0fb2b /src/keyevents.c | |
parent | ae1de0d884fbe931914e04c7a191b932b7a5904c (diff) |
Remove unused variables
Diffstat (limited to 'src/keyevents.c')
-rw-r--r-- | src/keyevents.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 4f01c24..239746e 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -350,7 +350,6 @@ void feh_event_invoke_action(winwidget winwid, unsigned char action) void feh_event_handle_keypress(XEvent * ev) { - int len; int state; char kbuf[20]; KeySym keysym; @@ -368,7 +367,7 @@ void feh_event_handle_keypress(XEvent * ev) } kev = (XKeyEvent *) ev; - len = XLookupString(&ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, NULL); + XLookupString(&ev->xkey, (char *) kbuf, sizeof(kbuf), &keysym, NULL); state = kev->state & (ControlMask | ShiftMask | Mod1Mask | Mod4Mask); if (isascii(keysym)) |