mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 23:31:19 +00:00
build: remove PVS
We already have an extensive suite of static analysis tools we use, which causes a fair bit of redundancy as we get duplicate warnings. PVS is also prone to give false warnings which creates a lot of work to identify and disable.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||
|
||||
// User defined function support
|
||||
|
||||
#include <assert.h>
|
||||
@@ -1214,7 +1211,7 @@ void call_user_func(ufunc_T *fp, int argcount, typval_T *argvars, typval_T *rett
|
||||
|
||||
if (func_or_func_caller_profiling) {
|
||||
call_start = profile_end(call_start);
|
||||
call_start = profile_sub_wait(wait_start, call_start); // -V614
|
||||
call_start = profile_sub_wait(wait_start, 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_children);
|
||||
@@ -1400,7 +1397,7 @@ void free_all_functions(void)
|
||||
// Clean up the current_funccal chain and the funccal stack.
|
||||
while (current_funccal != NULL) {
|
||||
tv_clear(current_funccal->fc_rettv);
|
||||
cleanup_function_call(current_funccal); // -V595
|
||||
cleanup_function_call(current_funccal);
|
||||
if (current_funccal == NULL && funccal_stack != NULL) {
|
||||
restore_funccal();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user