initialize a variable that gcc warns about
https://bugzilla.gnome.org/show_bug.cgi?id=613749
This commit is contained in:
parent
3f5bb8f98d
commit
4aa2473d18
@ -562,7 +562,8 @@ compute_shrinks (StBoxLayout *self,
|
||||
StBoxLayoutPrivate *priv = self->priv;
|
||||
int n_children = g_list_length (priv->children);
|
||||
BoxChildShrink *shrinks = g_new0 (BoxChildShrink, n_children);
|
||||
gfloat shrink_so_far, base_shrink;
|
||||
gfloat shrink_so_far;
|
||||
gfloat base_shrink = 0; /* the "= 0" is just to make gcc happy */
|
||||
int n_shrink_children;
|
||||
GList *l;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user