[git] GnuPG - branch, master, updated. gnupg-2.1.11-149-gb8cb097

by Justus Winter cvs at cvs.gnupg.org
Thu Apr 21 15:39:48 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  b8cb0973bcbe201a1e32a326dd97c3e72778b9d8 (commit)
      from  12af2630cf4d1a39179179925fac8f2cce7504ff (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 b8cb0973bcbe201a1e32a326dd97c3e72778b9d8
Author: Justus Winter <justus at g10code.com>
Date:   Thu Apr 21 15:23:04 2016 +0200

    common: Drop unused variables, fix warnings.
    
    --
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/common/private-keys.c b/common/private-keys.c
index d77ce16..a3c06f9 100644
--- a/common/private-keys.c
+++ b/common/private-keys.c
@@ -347,7 +347,7 @@ _pkc_add (pkc_t pk, char *name, char *value, strlist_t raw_value,
     {
       pke_t last;
 
-      if (preserve_order)
+      if (preserve_order || name == NULL)
 	last = pk->last;
       else
 	{
diff --git a/common/t-private-keys.c b/common/t-private-keys.c
index 06415a1..1027e70 100644
--- a/common/t-private-keys.c
+++ b/common/t-private-keys.c
@@ -269,7 +269,6 @@ run_modification_tests (void)
 {
   gpg_error_t err;
   pkc_t pk;
-  pke_t e;
   gcry_sexp_t key;
   char *buf;
 
@@ -380,7 +379,6 @@ convert (const char *fname)
   gcry_sexp_t key;
   char *buf;
   size_t buflen;
-  gpgrt_ssize_t nread;
   struct stat st;
   pkc_t pk;
 

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

Summary of changes:
 common/private-keys.c   | 2 +-
 common/t-private-keys.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list