diff options
author | Werner Koch <[email protected]> | 2016-08-29 18:05:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-29 18:05:02 +0000 |
commit | 8b3e691ffbaaa218d309d5aaf8f37532308558ff (patch) | |
tree | e9c780b24f12b0747e1e222c8a724b865e3ae8d5 | |
parent | gpgconf: Print the plain socket directory with --list-dirs. (diff) | |
download | gnupg-8b3e691ffbaaa218d309d5aaf8f37532308558ff.tar.gz gnupg-8b3e691ffbaaa218d309d5aaf8f37532308558ff.zip |
w32: Fix build regression due to 2aa0701.
* common/logging.c (fun_writer): Always declare 'name_for_err'.
--
Regression-due-to: 2aa0701013f703ad93e17da3345c493c08aa04ee
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | common/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/logging.c b/common/logging.c index 9a7ed1d5c..019d3128c 100644 --- a/common/logging.c +++ b/common/logging.c @@ -219,8 +219,8 @@ fun_writer (void *cookie_arg, const void *buffer, size_t size) struct sockaddr_in srvr_addr_in; #ifndef HAVE_W32_SYSTEM struct sockaddr_un srvr_addr_un; - const char *name_for_err = ""; #endif + const char *name_for_err = ""; size_t addrlen; struct sockaddr *srvr_addr = NULL; unsigned short port = 0; |