From cff5facc7f7096bf3aee63e136f9cb2b080cf759 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 21 Jan 2020 08:56:34 +0100 Subject: [PATCH] build: Require libgpg-error 1.37 -- --- configure.ac | 2 +- g10/keylist.c | 2 +- 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)