diff options
author | Werner Koch <wk@gnupg.org> | 2014-03-07 09:46:44 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-03-07 14:00:14 +0100 |
commit | 84fd36f8baa2b800ea47ff74935f5aaf0e55c299 (patch) | |
tree | 2b10f7924296b329886b22e9adfddc165bb42198 | |
parent | common: Fix build problem with Sun Studio compiler. (diff) | |
download | gnupg2-84fd36f8baa2b800ea47ff74935f5aaf0e55c299.tar.xz gnupg2-84fd36f8baa2b800ea47ff74935f5aaf0e55c299.zip |
gl: Avoid warning about shadowing an arg.
* gl/setenv.c (KNOWN_VALUE): s/value/_v/.
-rw-r--r-- | gl/setenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/setenv.c b/gl/setenv.c index 1c8338f2e..775d29c21 100644 --- a/gl/setenv.c +++ b/gl/setenv.c @@ -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) |