Fix warnings about scroll and value possibly getting used uninitialised.
svn path=/trunk/netsurf/; revision=10328
This commit is contained in:
parent
dfae5c33d2
commit
0b0044979c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue