From 4e6828e7e16b91308b0969ec0729f2b9cca3c450 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 29 Oct 2011 12:04:33 +0000 Subject: Remove unused variable. svn path=/trunk/netsurf/; revision=13095 --- framebuffer/gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'framebuffer/gui.c') 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; -- cgit v1.2.3