From c4750475018e93b36ce5e8dd8bf9aa16656b3b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 16 Jan 2018 17:50:11 +0100 Subject: box: Remove an unnecessary local variable --- gtk/gtkbox.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'gtk/gtkbox.c') 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 { -- cgit v1.2.1