From d1238856a86be4cc477b6cbadfd9291a995affdb Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 2 Jun 2021 21:23:46 -0400 Subject: clang/'Logic error': has_profiling() may not set forceit --- src/nvim/ex_cmds2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) { -- cgit