]> granicus.if.org Git - neomutt/commitdiff
tags: remove useless ifdef
authorMehdi Abaakouk <sileht@sileht.net>
Tue, 19 Sep 2017 12:05:09 +0000 (14:05 +0200)
committerRichard Russon <rich@flatcap.org>
Tue, 3 Oct 2017 12:47:30 +0000 (13:47 +0100)
OP_MAIN_MODIFY_LABELS and OP_MAIN_MODIFY_LABELS_THEN_HIDE no more
an notmuch thing. So make them always compiled.

curs_main.c
muttlib.c

index 7fdc873be5041dca8b011d50d80f1b5bc5b4beb5..5ac152ff182dd9c28cbc21bbcfb64b6170899d7f 100644 (file)
@@ -1854,7 +1854,6 @@ int mutt_index_menu(void)
       }
 
 #endif
-#if defined(USE_NOTMUCH) || defined(USE_IMAP)
       case OP_MAIN_MODIFY_LABELS:
       case OP_MAIN_MODIFY_LABELS_THEN_HIDE:
       {
@@ -1952,7 +1951,6 @@ int mutt_index_menu(void)
         break;
       }
 
-#endif
 #ifdef USE_NOTMUCH
       case OP_MAIN_VFOLDER_FROM_QUERY:
         buf[0] = '\0';
index f243390a3744340b2bfcf4044485d7c0dc78a75e..5b0970dbc937ee39db3c1321d66d23bc9cb8b8c6 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -60,9 +60,7 @@
 #include "mime.h"
 #include "mutt_curses.h"
 #include "mutt_regex.h"
-#if defined USE_IMAP || defined USE_NOTMUCH
 #include "mutt_tags.h"
-#endif
 
 #include "mx.h"
 #include "ncrypt/ncrypt.h"