aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gpgme-json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index ecdcc08e..0aeb7f91 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -2607,7 +2607,7 @@ op_delete (cjson_t request, cjson_t result)
gpgme_ctx_t ctx = NULL;
gpgme_ctx_t keylist_ctx = NULL;
gpgme_protocol_t protocol;
- gpgme_key_t key;
+ gpgme_key_t key = NULL;
int secret = 0;
cjson_t j_key = NULL;