Remove pointless variable.

This commit is contained in:
Michael Drake 2014-02-08 15:18:46 +00:00
parent 41d70c741f
commit 72b5bc85f2
1 changed files with 1 additions and 2 deletions

View File

@ -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) static void gui_window_update_box(struct gui_window *g, const struct rect *rect)
{ {
int sx, sy; int sx, sy;
hlcache_handle *c = g->bw->current_content;
if (c == NULL) if (g->bw->current_content == NULL)
return; return;
gui_window_get_scroll(g, &sx, &sy); gui_window_get_scroll(g, &sx, &sy);