gl: Avoid warning about shadowing an arg.
authorWerner Koch <wk@gnupg.org>
Fri, 7 Mar 2014 08:46:44 +0000 (09:46 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 7 Mar 2014 13:00:14 +0000 (14:00 +0100)
* gl/setenv.c (KNOWN_VALUE): s/value/_v/.

gl/setenv.c

index 1c8338f..775d29c 100644 (file)
@@ -81,8 +81,8 @@ static void *known_values;
 
 # define KNOWN_VALUE(Str) \
   ({                                                                         \
-    void *value = tfind (Str, &known_values, (compar_fn_t) strcmp);          \
-    value != NULL ? *(char **) value : NULL;                                 \
+    void *_v = tfind (Str, &known_values, (compar_fn_t) strcmp);             \
+    _v != NULL ? *(char **) _v : NULL;                               \
   })
 # define STORE_VALUE(Str) \
   tsearch (Str, &known_values, (compar_fn_t) strcmp)