aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-02 21:23:46 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-06-02 21:24:01 -0400
commitd1238856a86be4cc477b6cbadfd9291a995affdb (patch)
tree4aa9db3396d55e0b74f920beaa3e350fd114f009
parent626c631e89bbb8cb96c6511a36a15afc015fbdd7 (diff)
downloadrneovim-d1238856a86be4cc477b6cbadfd9291a995affdb.tar.gz
rneovim-d1238856a86be4cc477b6cbadfd9291a995affdb.tar.bz2
rneovim-d1238856a86be4cc477b6cbadfd9291a995affdb.zip
clang/'Logic error': has_profiling() may not set forceit
-rw-r--r--src/nvim/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index 0a2802397d..56a14887df 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -2958,7 +2958,7 @@ int do_source(char_u *fname, int check_other, int is_vimrc)
}
if (l_do_profiling == PROF_YES) {
- bool forceit;
+ bool forceit = false;
// Check if we do profiling for this script.
if (!si->sn_prof_on && has_profiling(true, si->sn_name, &forceit)) {