[git] GPG-ERROR - branch, master, updated. libgpg-error-1.13-9-gab5eff4

by Werner Koch cvs at cvs.gnupg.org
Sun Aug 10 09:08:35 CEST 2014


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 "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  ab5eff46116a9a246ffb2c083bec637d0321d0cb (commit)
      from  7b7e08e6f3561724006b63679c2500a62fc73837 (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 ab5eff46116a9a246ffb2c083bec637d0321d0cb
Author: Werner Koch <wk at gnupg.org>
Date:   Sun Aug 10 09:07:03 2014 +0200

    tests: Fix compiler warning.
    
    * tests/t-lock.c: Include header vor getpid.
    (revision_thread): Init "i" to avoid compiler warning.
    --
    GnuPG-bug-id: 1681
    
    Note that the non-initialization of I did not harm.

diff --git a/tests/t-lock.c b/tests/t-lock.c
index 190d63e..5a21666 100644
--- a/tests/t-lock.c
+++ b/tests/t-lock.c
@@ -25,6 +25,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>
+#include <sys/types.h>
+#include <unistd.h>
 #ifdef _WIN32
 # include <windows.h>
 #else
@@ -132,7 +134,7 @@ static THREAD_RET_TYPE
 revision_thread (void *arg)
 {
   gpg_err_code_t rc;
-  int i;
+  int i = 0;
 
   (void)arg;
 

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

Summary of changes:
 tests/t-lock.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list