Fix warnings about scroll and value possibly getting used uninitialised.

svn path=/trunk/netsurf/; revision=10328
This commit is contained in:
Michael Drake 2010-04-09 09:02:05 +00:00
parent dfae5c33d2
commit 0b0044979c
1 changed files with 2 additions and 1 deletions

View File

@ -583,7 +583,8 @@ gboolean nsgtk_window_scroll_event(GtkWidget *widget,
if (value > scroll->upper - alloc->height)
value = scroll->upper - alloc->height;
break;
default:
return TRUE;
}
gtk_adjustment_set_value(scroll, value);