diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-29 12:04:33 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-29 12:04:33 +0000 |
commit | 4e6828e7e16b91308b0969ec0729f2b9cca3c450 (patch) | |
tree | dc0e6a0bab3ff7a227d514ecd3d04f1dd2e2a371 | |
parent | 62e551f34d92a4713f7f384615ba0d0c8abf8a55 (diff) | |
download | netsurf-4e6828e7e16b91308b0969ec0729f2b9cca3c450.tar.gz netsurf-4e6828e7e16b91308b0969ec0729f2b9cca3c450.tar.bz2 |
Remove unused variable.
svn path=/trunk/netsurf/; revision=13095
-rw-r--r-- | framebuffer/gui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 03362a2bb..0c749bb65 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -650,7 +650,6 @@ static int fb_browser_window_input(fbtk_widget_t *widget, fbtk_callback_info *cbi) { struct gui_window *gw = cbi->context; - int res = 0; static uint8_t modifier = 0; int ucs4 = -1; @@ -702,7 +701,7 @@ fb_browser_window_input(fbtk_widget_t *widget, fbtk_callback_info *cbi) ucs4 = fbtk_keycode_to_ucs4(cbi->event->value.keycode, modifier); if (ucs4 != -1) - res = browser_window_key_press(gw->bw, ucs4); + browser_window_key_press(gw->bw, ucs4); break; } break; |