mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
Don't forget to initialize a variable
Pointed out by clang in bug 653333.
This commit is contained in:
parent
f685ce37fc
commit
7bbe537915
@ -526,6 +526,8 @@ gtk_tool_palette_size_allocate (GtkWidget *widget,
|
||||
GtkToolItemGroupInfo *group = g_ptr_array_index (palette->priv->groups, i);
|
||||
gint size;
|
||||
|
||||
group_sizes[i] = 0;
|
||||
|
||||
if (!group->widget)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user