From: Damien Riegel Date: Wed, 22 Feb 2017 23:44:12 +0000 (-0500) Subject: mx: remove an `#ifdef USE_NNTP` block X-Git-Tag: neomutt-20170414~41^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=234a5e40f0b2d546bf58ee934d5a7e7a19d1aa2b;p=neomutt mx: remove an `#ifdef USE_NNTP` block The `MUTT_NNTP` symbol now exists unconditionally, the corresponding ifdef block is not necessary anymore. --- diff --git a/mx.c b/mx.c index dfddf9d64..8c607975d 100644 --- a/mx.c +++ b/mx.c @@ -889,13 +889,7 @@ int mx_close_mailbox (CONTEXT *ctx, int *index_hint) #endif } -#ifdef USE_NNTP - /* don't need to move articles from newsgroup */ - if (ctx->magic == MUTT_NNTP) - read_msgs = 0; -#endif - - if (read_msgs && quadoption (OPT_MOVE) != MUTT_NO) + if (read_msgs && quadoption (OPT_MOVE) != MUTT_NO && ctx->magic != MUTT_NNTP) { char *p;