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>
This commit is contained in:
Pascal Quantin 2015-12-13 23:06:55 +01:00
parent 5cbdea74ed
commit 41310fcaee
1 changed files with 2 additions and 2 deletions

View File

@ -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 {