diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-12-13 23:06:55 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-12-13 22:08:54 +0000 |
commit | 41310fcaeead6a65401788c30abfde1e6464638a (patch) | |
tree | 99597ac3b5267d00b40a860400d7831231b90ae1 /ui/recent.c | |
parent | 5cbdea74edb1f5cab3b1bb550c79b91466ede5d5 (diff) | |
download | wireshark-41310fcaeead6a65401788c30abfde1e6464638a.tar.gz |
recent.c: fix declaration of ‘value_string’ shadows a global declaration
Change-Id: I7dff01e534094c27839476f322f88c2774bd9e62
Reviewed-on: https://code.wireshark.org/review/12605
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/recent.c')
-rw-r--r-- | ui/recent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/recent.c b/ui/recent.c index d22fec3705..64c6c1ee11 100644 --- a/ui/recent.c +++ b/ui/recent.c @@ -211,9 +211,9 @@ window_geom_load(const gchar *name, /* parse values of particular types */ static void -parse_recent_boolean(const gchar *value_string, gboolean *valuep) +parse_recent_boolean(const gchar *val_str, gboolean *valuep) { - if (g_ascii_strcasecmp(value_string, "true") == 0) { + if (g_ascii_strcasecmp(val_str, "true") == 0) { *valuep = TRUE; } else { |