mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +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) {
|
if (l_do_profiling == PROF_YES) {
|
||||||
bool forceit;
|
bool forceit = false;
|
||||||
|
|
||||||
// Check if we do profiling for this script.
|
// Check if we do profiling for this script.
|
||||||
if (!si->sn_prof_on && has_profiling(true, si->sn_name, &forceit)) {
|
if (!si->sn_prof_on && has_profiling(true, si->sn_name, &forceit)) {
|
||||||
|
Reference in New Issue
Block a user