exit: annotate FUNC_ATTR_NORETURN functions #7954 (#7954)

This should fix a particular false positive from clang 5.0.0 scan-build,
which thinks that nlua_init() can continue after preserve_exit().
This commit is contained in:
Justin M. Keyes
2018-02-07 02:32:50 +01:00
committed by GitHub
parent b1412dc412
commit 538361955d
5 changed files with 13 additions and 12 deletions

View File

@@ -4466,7 +4466,7 @@ do_arg_all (
// leaving an empty tab page when executed locally.
if (keep_tabs && BUFEMPTY() && curbuf->b_nwindows == 1
&& curbuf->b_ffname == NULL && !curbuf->b_changed) {
use_firstwin = TRUE;
use_firstwin = true;
}
for (i = 0; i < count && i < opened_len && !got_int; ++i) {