aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-01-21 07:56:34 +0000
committerWerner Koch <[email protected]>2020-01-21 07:56:34 +0000
commitcff5facc7f7096bf3aee63e136f9cb2b080cf759 (patch)
tree5fafa6ebe5e0a7b31ee158404c951860883f1351
parenttools: Let watchgnupg determine the socket name via gpgconf. (diff)
downloadgnupg-cff5facc7f7096bf3aee63e136f9cb2b080cf759.tar.gz
gnupg-cff5facc7f7096bf3aee63e136f9cb2b080cf759.zip
build: Require libgpg-error 1.37
--
-rw-r--r--configure.ac2
-rw-r--r--g10/keylist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b7027ebdc..12a8feaf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ AC_INIT([mym4_package],[mym4_version], [https://bugs.gnupg.org])
# build-aux/speedo.mk and Makefile.am
AC_DEFINE_UNQUOTED(GNUPG_SWDB_TAG, "gnupg24", [swdb tag for this branch])
-NEED_GPG_ERROR_VERSION=1.29
+NEED_GPG_ERROR_VERSION=1.37
NEED_LIBGCRYPT_API=1
NEED_LIBGCRYPT_VERSION=1.8.0
diff --git a/g10/keylist.c b/g10/keylist.c
index a98305da1..c6bfbcf52 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -1690,7 +1690,7 @@ list_keyblock_colon (ctrl_t ctrl, kbnode_t keyblock,
char *reason_text = NULL;
char *reason_comment = NULL;
size_t reason_commentlen;
- int reason_code;
+ int reason_code = 0; /* Init to silence compiler warning. */
if (sig->sig_class == 0x20 || sig->sig_class == 0x28
|| sig->sig_class == 0x30)