# HG changeset patch # User Olaf Hering <[email protected]> # Date 1306148351 -7200 # Branch HEAD # Node ID 9ac9a31991d291981eaa497e17bcf0fc77998905 # Parent 919b06d8aef732f6dd375a23aac333f312d44868 fix gcc 4.6 warning -Wunused-but-set-variable in compose.c
compose.c: In function 'redraw_crypt_lines': compose.c:113:7: warning: variable 'off' set but not used [-Wunused-but-set-variable] Signed-off-by: Olaf Hering <[email protected]> diff -r 919b06d8aef7 -r 9ac9a31991d2 compose.c --- a/compose.c Mon May 23 12:59:11 2011 +0200 +++ b/compose.c Mon May 23 12:59:11 2011 +0200 @@ -110,8 +110,6 @@ static void snd_entry (char *b, size_t b static void redraw_crypt_lines (HEADER *msg) { - int off = 0; - mvaddstr (HDR_CRYPT, 0, "Security: "); if ((WithCrypto & (APPLICATION_PGP | APPLICATION_SMIME)) == 0) @@ -163,7 +161,6 @@ static void redraw_crypt_lines (HEADER * && *SmimeCryptAlg) { mvprintw (HDR_CRYPTINFO, 40, "%s%s", _("Encrypt with: "), NONULL(SmimeCryptAlg)); - off = 20; } }
