From: Olaf Hering Date: Mon, 23 May 2011 10:59:11 +0000 (+0200) Subject: fix gcc 4.6 warning -Wunused-but-set-variable in compose.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97886a73eabda6d999006ce36f087b3f8691de59;p=neomutt 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 --- diff --git a/compose.c b/compose.c index c251d41f8..21a296c9d 100644 --- a/compose.c +++ b/compose.c @@ -110,8 +110,6 @@ static void snd_entry (char *b, size_t blen, MUTTMENU *menu, int num) 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 *msg) && *SmimeCryptAlg) { mvprintw (HDR_CRYPTINFO, 40, "%s%s", _("Encrypt with: "), NONULL(SmimeCryptAlg)); - off = 20; } }