Skip to content

Commit

Permalink
Reduce variable scope - buffy.c
Browse files Browse the repository at this point in the history
  • Loading branch information
fekir authored and flatcap committed Mar 3, 2018
1 parent ef733c7 commit 6703985
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buffy.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,12 @@ int mutt_buffy_notify(void)
*/
void mutt_buffy(char *s, size_t slen)
{
int pass, found = 0;

mutt_expand_path(s, slen);

if (mutt_buffy_check(false))
{
for (pass = 0; pass < 2; pass++)
int found = 0;
for (int pass = 0; pass < 2; pass++)
{
for (struct Buffy *b = Incoming; b; b = b->next)
{
Expand Down

0 comments on commit 6703985

Please sign in to comment.