mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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 <wk@gnupg.org>
This commit is contained in:
parent
8e3fa5a4b2
commit
8b3e691ffb
@ -219,8 +219,8 @@ fun_writer (void *cookie_arg, const void *buffer, size_t size)
|
|||||||
struct sockaddr_in srvr_addr_in;
|
struct sockaddr_in srvr_addr_in;
|
||||||
#ifndef HAVE_W32_SYSTEM
|
#ifndef HAVE_W32_SYSTEM
|
||||||
struct sockaddr_un srvr_addr_un;
|
struct sockaddr_un srvr_addr_un;
|
||||||
const char *name_for_err = "";
|
|
||||||
#endif
|
#endif
|
||||||
|
const char *name_for_err = "";
|
||||||
size_t addrlen;
|
size_t addrlen;
|
||||||
struct sockaddr *srvr_addr = NULL;
|
struct sockaddr *srvr_addr = NULL;
|
||||||
unsigned short port = 0;
|
unsigned short port = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user