commit 07ddf25cc0f17a4652ba601b0eb50068ad6cc905
parent 73d397c64b62dcda21092fb591e02025357cc0b8
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 24 May 2018 18:14:35 +0200
tweaks: exclude an unneeded 'if' from the single-buffer version
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/text.c b/src/text.c
@@ -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