]> granicus.if.org Git - neomutt/commitdiff
fix gcc 4.6 warning -Wunused-but-set-variable in compose.c
authorOlaf Hering <olaf@aepfle.de>
Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)
committerOlaf Hering <olaf@aepfle.de>
Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)
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 <olaf@aepfle.de>
compose.c

index c251d41f81136edd37eae145d1aae41150ab9da6..21a296c9deac96241f6026bc7fc49dcff512818c 100644 (file)
--- 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;
   }
 }