eval: Silence V614: potentially uninitialized variable

Could not be uninitialized because `func_or_func_caller_profiling` is true only 
if `do_profiling` is `YES`, and if `do_profiling` is `YES` then 
`script_prof_save()` was called to initialize the variable.
This commit is contained in:
ZyX
2017-05-20 03:54:07 +03:00
parent d9239181af
commit 37a77506b0

View File

@@ -21160,7 +21160,7 @@ void call_user_func(ufunc_T *fp, int argcount, typval_T *argvars,
if (func_or_func_caller_profiling) { if (func_or_func_caller_profiling) {
call_start = profile_end(call_start); call_start = profile_end(call_start);
call_start = profile_sub_wait(wait_start, call_start); call_start = profile_sub_wait(wait_start, call_start); // -V614
fp->uf_tm_total = profile_add(fp->uf_tm_total, call_start); fp->uf_tm_total = profile_add(fp->uf_tm_total, call_start);
fp->uf_tm_self = profile_self(fp->uf_tm_self, call_start, fp->uf_tm_self = profile_self(fp->uf_tm_self, call_start,
fp->uf_tm_children); fp->uf_tm_children);