aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-07 02:32:50 +0100
committerGitHub <noreply@github.com>2018-02-07 02:32:50 +0100
commit538361955d123d9c93387f7597303c0ef59c6825 (patch)
treeda1fb4713917fd39fe6c3df2b06fc40a8d7ff71e /src/nvim/buffer.c
parentb1412dc412e1308806ff65281d3dc29c1ffc7bdf (diff)
downloadrneovim-538361955d123d9c93387f7597303c0ef59c6825.tar.gz
rneovim-538361955d123d9c93387f7597303c0ef59c6825.tar.bz2
rneovim-538361955d123d9c93387f7597303c0ef59c6825.zip
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().
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index e5da5b835b..a86a908492 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -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) {