summaryrefslogtreecommitdiffstats
path: root/crypt-gpgme.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2007-07-04 17:36:37 -0700
committerBrendan Cully <brendan@kublai.com>2007-07-04 17:36:37 -0700
commit2cec999d353239df5a89b59dbc54c38a7dd140f8 (patch)
treeea1d00dd807de049d20d6a8c99c688df43b2c002 /crypt-gpgme.c
parente037fdcf97ca12b8739624c1f8e6398fe70b0042 (diff)
Fix some compiler warnings in GPGME. Closes #2919.
Diffstat (limited to 'crypt-gpgme.c')
-rw-r--r--crypt-gpgme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypt-gpgme.c b/crypt-gpgme.c
index 9bf771ea..4469aa22 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;