diff options
author | Timm Bäder <mail@baedert.org> | 2018-01-16 17:50:11 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-01-17 21:57:19 +0100 |
commit | c4750475018e93b36ce5e8dd8bf9aa16656b3b77 (patch) | |
tree | 15d68ca2c280780c2a5f24ae87a8f6cf3cb1bb92 /gtk/gtkbox.c | |
parent | 3604816b9c108a441ffa62f8525d747065dda42f (diff) | |
download | gtk+-c4750475018e93b36ce5e8dd8bf9aa16656b3b77.tar.gz |
box: Remove an unnecessary local variable
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r-- | gtk/gtkbox.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index a1a8b5d146..eafc62a3a3 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -958,13 +958,8 @@ gtk_box_get_size (GtkWidget *widget, { if (private->homogeneous) { - int largest; - - largest = child_minimum; - minimum = MAX (minimum, largest); - - largest = child_natural; - natural = MAX (natural, largest); + minimum = MAX (minimum, child_minimum); + natural = MAX (natural, child_natural); } else { |