# HG changeset patch # User Olaf Hering <[email protected]> # Date 1306148353 -7200 # Branch HEAD # Node ID 27fb2d16bd930ea6f1457aa78befab996bcb5d02 # Parent 8d8495a033a8f939a8db262cbe847e47147a2417 fix gcc 4.6 warning -Wunused-but-set-variable in smime.c
smime.c: In function 'smime_handle_entity': smime.c:1663:8: warning: variable 'last_pos' set but not used [-Wunused-but-set-variable] Signed-off-by: Olaf Hering <[email protected]> diff -r 8d8495a033a8 -r 27fb2d16bd93 smime.c --- a/smime.c Mon May 23 12:59:13 2011 +0200 +++ b/smime.c Mon May 23 12:59:13 2011 +0200 @@ -1660,7 +1660,6 @@ static BODY *smime_handle_entity (BODY * { int len=0; int c; - long last_pos; char buf[HUGE_STRING]; char outfile[_POSIX_PATH_MAX], errfile[_POSIX_PATH_MAX]; char tmpfname[_POSIX_PATH_MAX]; @@ -1701,7 +1700,6 @@ static BODY *smime_handle_entity (BODY * } fseeko (s->fpin, m->offset, 0); - last_pos = m->offset; mutt_copy_bytes (s->fpin, tmpfp, m->length);
