From d9142d2eed5fd0b03ebc65020f766e635efdef12 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 8 Apr 2020 00:07:58 +0200 Subject: Remove -Wshadow warnings --- src/math-variable-popup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/math-variable-popup.c') diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c index 9c2d7ce..26bc4f5 100644 --- a/src/math-variable-popup.c +++ b/src/math-variable-popup.c @@ -204,10 +204,10 @@ math_variable_popup_set_property(GObject *object, names = math_variables_get_names(math_equation_get_variables(self->priv->equation)); for (i = 0; names[i]; i++) { - MPNumber *value; + MPNumber *aux; - value = math_variables_get(math_equation_get_variables(self->priv->equation), names[i]); - entry = make_variable_entry(self, names[i], value, TRUE); + aux = math_variables_get(math_equation_get_variables(self->priv->equation), names[i]); + entry = make_variable_entry(self, names[i], aux, TRUE); gtk_widget_show(entry); gtk_box_pack_start(GTK_BOX(self->priv->vbox), entry, FALSE, TRUE, 0); } -- cgit v1.2.1