Commit a13a3c70 authored by Olaf Hering's avatar Olaf Hering

fix gcc 4.6 warning -Wunused-but-set-variable in pgp.c

pgp.c: In function 'pgp_application_pgp_handler':
pgp.c:254:8: warning: variable 'start_pos' set but not used [-Wunused-but-set-variable]
Signed-off-by: Olaf Hering's avatarOlaf Hering <olaf@aepfle.de>
parent b783c4c6
......@@ -251,7 +251,6 @@ int pgp_application_pgp_handler (BODY *m, STATE *s)
int needpass = -1, pgp_keyblock = 0;
int clearsign = 0, rv, rc;
int c = 1; /* silence GCC warning */
long start_pos = 0;
long bytes;
LOFF_T last_pos, offset;
char buf[HUGE_STRING];
......@@ -285,7 +284,6 @@ int pgp_application_pgp_handler (BODY *m, STATE *s)
if (mutt_strncmp ("-----BEGIN PGP ", buf, 15) == 0)
{
clearsign = 0;
start_pos = last_pos;
if (mutt_strcmp ("MESSAGE-----\n", buf + 15) == 0)
needpass = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment