summaryrefslogtreecommitdiff
path: root/src/math-variable-popup.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-08 00:07:58 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-04-14 22:24:39 +0200
commitd9142d2eed5fd0b03ebc65020f766e635efdef12 (patch)
treeea8cc9adac8fc3abf0571090648b22374a418fe0 /src/math-variable-popup.c
parent4bd2bd7da99284a4baa9cd5543cb04170dde9803 (diff)
downloadmate-calc-d9142d2eed5fd0b03ebc65020f766e635efdef12.tar.bz2
mate-calc-d9142d2eed5fd0b03ebc65020f766e635efdef12.tar.xz
Remove -Wshadow warnings
Diffstat (limited to 'src/math-variable-popup.c')
-rw-r--r--src/math-variable-popup.c6
1 files changed, 3 insertions, 3 deletions
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);
}