mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
clang/'Logic error': has_profiling() may not set forceit
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user