[git] Assuan - branch, master, updated. libassuan-2.5.0-2-gd38817f

by Werner Koch cvs at cvs.gnupg.org
Thu Dec 7 15:13:51 CET 2017


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 "IPC library used by GnuPG".

The branch, master has been updated
       via  d38817fd0e24acfd295bd7f81b77254afd0cc6d5 (commit)
      from  5aea76dbf1d39ab646461a2996becc40c42c9632 (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 d38817fd0e24acfd295bd7f81b77254afd0cc6d5
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Dec 7 15:08:20 2017 +0100

    Fix regression in ASSUAN_SYSTEM_NPTH_IMPL.
    
    * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): A void fucntion can't
    assign.
    --
    
    Fixes-commit: a627350eed5dc32bac41195462f27dee1987b0f5
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/src/assuan.h.in b/src/assuan.h.in
index d30be05..f9899d8 100644
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -551,8 +551,8 @@ extern struct assuan_system_hooks _assuan_system_pth;
 
 #define ASSUAN_SYSTEM_NPTH_IMPL						\
   static void _assuan_npth_usleep (assuan_context_t ctx, unsigned int usec) \
-  { ssize_t res; (void) ctx; npth_unprotect();				\
-    res = __assuan_usleep (ctx, usec);					\
+  { npth_unprotect();				                        \
+    __assuan_usleep (ctx, usec);					\
     npth_protect(); }							\
   static ssize_t _assuan_npth_read (assuan_context_t ctx, assuan_fd_t fd, \
 				    void *buffer, size_t size)		\

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

Summary of changes:
 src/assuan.h.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
IPC library used by GnuPG
http://git.gnupg.org




More information about the Gnupg-commits mailing list