From: Federico Kircheis Date: Tue, 6 Mar 2018 19:33:41 +0000 (+0100) Subject: Reduce variable scope - buffy.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6e33df2a130f5c290d0657b151a1cee87a6bf07;p=neomutt Reduce variable scope - buffy.c --- diff --git a/buffy.c b/buffy.c index 9168d4564..f24cc0139 100644 --- a/buffy.c +++ b/buffy.c @@ -865,10 +865,9 @@ void mutt_buffy(char *s, size_t slen) #ifdef USE_NOTMUCH void mutt_buffy_vfolder(char *s, size_t slen) { - bool found = false; - if (mutt_buffy_check(false)) { + bool found = false; for (int pass = 0; pass < 2; pass++) { for (struct Buffy *b = Incoming; b; b = b->next)