[gtk+/gtk-3-0] Don't forget to initialize a variable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] Don't forget to initialize a variable
- Date: Mon, 27 Jun 2011 20:49:26 +0000 (UTC)
commit e68448a49fef35ee1af29f68c1041c6de5afe206
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 27 16:46:33 2011 -0400
Don't forget to initialize a variable
Pointed out by clang in bug 653333.
gtk/gtktoolpalette.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index be7dd8f..9488f62 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]