summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-02-08 15:18:46 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-02-08 15:18:46 +0000
commit72b5bc85f27478ce63679df5543b6eef363189e3 (patch)
treec875288bfb1225ed0bbe376922d399d14c65c2af /gtk
parent41d70c741f31e8c04c774fb5b2b90d284e4d8668 (diff)
downloadnetsurf-72b5bc85f27478ce63679df5543b6eef363189e3.tar.gz
netsurf-72b5bc85f27478ce63679df5543b6eef363189e3.tar.bz2
Remove pointless variable.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/window.c b/gtk/window.c
index 015ef4df9..1e9796ebb 100644
--- a/gtk/window.c
+++ b/gtk/window.c
@@ -944,9 +944,8 @@ static void gui_window_redraw_window(struct gui_window *g)
static void gui_window_update_box(struct gui_window *g, const struct rect *rect)
{
int sx, sy;
- hlcache_handle *c = g->bw->current_content;
- if (c == NULL)
+ if (g->bw->current_content == NULL)
return;
gui_window_get_scroll(g, &sx, &sy);