diff options
author | Werner Koch <[email protected]> | 2024-01-10 16:21:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-01-10 16:21:32 +0000 |
commit | 9938e8d3f4a30dea3611d2a87ab43bd3487892af (patch) | |
tree | d2b1c4127c4876288b86a64aadcb977eeb3e0db6 | |
parent | gpg: Allow to create revocations even with non-compliant algos. (diff) | |
download | gnupg-9938e8d3f4a30dea3611d2a87ab43bd3487892af.tar.gz gnupg-9938e8d3f4a30dea3611d2a87ab43bd3487892af.zip |
common: Fix unused variable warning on Unix.
--
-rw-r--r-- | common/homedir.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/homedir.c b/common/homedir.c index fb2640d67..0a8e55fe1 100644 --- a/common/homedir.c +++ b/common/homedir.c @@ -176,8 +176,11 @@ static char * copy_dir_with_fixup (const char *newdir) { char *result = NULL; - char *p, *p0; + char *p; +#ifdef HAVE_W32_SYSTEM + char *p0; const char *s; +#endif if (!*newdir) return NULL; |