diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 20:45:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 20:45:52 -0400 |
commit | 29e8a07ddd123cbf91207f7a0e2c38a016d1f3d7 (patch) | |
tree | 97a5c641e635b3c940e86f1b8d86d80529ab6ded | |
parent | de3b244fa1f1ae7dadf2c806080fff47819a465b (diff) | |
download | gtk+-29e8a07ddd123cbf91207f7a0e2c38a016d1f3d7.tar.gz |
Avoid compiler warnings
Initialize these variables, so gcc doesn't complain.
-rw-r--r-- | gtk/gtkcenterbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c index 8b89df5008..2e15f04ff7 100644 --- a/gtk/gtkcenterbox.c +++ b/gtk/gtkcenterbox.c @@ -329,8 +329,8 @@ gtk_center_box_measure_opposite (GtkWidget *widget, if (above_min >= 0) { - int min_baseline; - int nat_baseline; + int min_baseline = -1; + int nat_baseline = -1; total_min = MAX (total_min, above_min + below_min); total_nat = MAX (total_nat, above_nat + below_nat); |