From 5fbfe5203c5336bbc3c21b77492aded5037bdcd4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 3 May 2021 07:36:19 -0400 Subject: [PATCH] buildertool: Static analysis fixes --- tools/gtk-builder-tool-simplify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/gtk-builder-tool-simplify.c b/tools/gtk-builder-tool-simplify.c index 22e41a34d7..66c3060138 100644 --- a/tools/gtk-builder-tool-simplify.c +++ b/tools/gtk-builder-tool-simplify.c @@ -1506,16 +1506,16 @@ rewrite_box (Element *element, if (orientation == GTK_ORIENTATION_HORIZONTAL) { if (expand) - hexpand = write_box_prop (hexpand, object, "hexpand", "1"); + write_box_prop (hexpand, object, "hexpand", "1"); if (!fill) - halign = write_box_prop (halign, object, "halign", "center"); + write_box_prop (halign, object, "halign", "center"); } else if (orientation == GTK_ORIENTATION_VERTICAL) { if (expand) - vexpand = write_box_prop (vexpand, object, "vexpand", "1"); + write_box_prop (vexpand, object, "vexpand", "1"); if (!fill) - valign = write_box_prop (valign, object, "valign", "center"); + write_box_prop (valign, object, "valign", "center"); } child->children = g_list_remove (child->children, packing);