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:
parent
5cbdea74ed
commit
41310fcaee
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue