From: Brendan Cully Date: Thu, 5 Jul 2007 00:36:37 +0000 (-0700) Subject: Fix some compiler warnings in GPGME. Closes #2919. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82583ecb18b3450f9b8f80720d661cb0b714efa7;p=neomutt Fix some compiler warnings in GPGME. Closes #2919. --- diff --git a/crypt-gpgme.c b/crypt-gpgme.c index 9bf771ea8..4469aa222 100644 --- a/crypt-gpgme.c +++ b/crypt-gpgme.c @@ -760,7 +760,6 @@ static int get_micalg (gpgme_ctx_t ctx, char *buf, size_t buflen) { gpgme_sign_result_t result = NULL; const char *algorithm_name = NULL; - char *bp; if (buflen < 5) return -1; @@ -1525,7 +1524,7 @@ static BODY *decrypt_part (BODY *a, STATE *s, FILE *fpout, int is_smime, { struct stat info; BODY *tattach; - int err; + int err = 0; gpgme_ctx_t ctx; gpgme_data_t ciphertext, plaintext; int maybe_signed = 0;