[git] GnuPG - branch, master, updated. gnupg-2.1.15-15-g8b3e691

by Werner Koch cvs at cvs.gnupg.org
Mon Aug 29 20:07:33 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  8b3e691ffbaaa218d309d5aaf8f37532308558ff (commit)
      from  8e3fa5a4b205c534de2142e5d071712f957cf06a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8b3e691ffbaaa218d309d5aaf8f37532308558ff
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Aug 29 20:05:02 2016 +0200

    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 at gnupg.org>

diff --git a/common/logging.c b/common/logging.c
index 9a7ed1d..019d312 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;

-----------------------------------------------------------------------

Summary of changes:
 common/logging.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list