tweaks: exclude an unneeded 'if' from the single-buffer version

master
Benno Schulenberg 2018-05-24 18:14:35 +02:00
parent 73d397c64b
commit 07ddf25cc0
1 changed files with 2 additions and 3 deletions

View File

@ -3274,9 +3274,8 @@ void do_linter(void)
break;
tmpof = tmpof->next;
}
#endif
if (tmpof->current_stat->st_ino != lintfileinfo.st_ino) {
#ifdef ENABLE_MULTIBUFFER
char *msg = charalloc(1024 + strlen(curlint->filename));
int i;
@ -3325,8 +3324,8 @@ void do_linter(void)
}
free(dontwantfile);
}
#ifdef ENABLE_MULTIBUFFER
}
} else
openfile = tmpof;
#endif