diff options
author | rbuj <[email protected]> | 2020-04-08 00:07:58 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-04-14 22:24:39 +0200 |
commit | d9142d2eed5fd0b03ebc65020f766e635efdef12 (patch) | |
tree | ea8cc9adac8fc3abf0571090648b22374a418fe0 /src/math-buttons.c | |
parent | 4bd2bd7da99284a4baa9cd5543cb04170dde9803 (diff) | |
download | mate-calc-d9142d2eed5fd0b03ebc65020f766e635efdef12.tar.bz2 mate-calc-d9142d2eed5fd0b03ebc65020f766e635efdef12.tar.xz |
Remove -Wshadow warnings
Diffstat (limited to 'src/math-buttons.c')
-rw-r--r-- | src/math-buttons.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c index 1ab1939..64d929c 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -393,13 +393,13 @@ update_bit_panel(MathButtons *buttons) return; for (i = 0; i < MAXBITS; i++) { - const gchar *label; + const gchar *bin_label; if (bits & (1LLU << (MAXBITS-i-1))) - label = " 1"; + bin_label = " 1"; else - label = " 0"; - gtk_label_set_text(GTK_LABEL(buttons->priv->bit_labels[i]), label); + bin_label = " 0"; + gtk_label_set_text(GTK_LABEL(buttons->priv->bit_labels[i]), bin_label); } base = math_equation_get_base(buttons->priv->equation); |