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:
dundargoc
2023-11-12 13:13:58 +01:00
committed by dundargoc
parent 2a57613b9b
commit 353a4be7e8
198 changed files with 99 additions and 1222 deletions

View File

@@ -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
// ops.c: implementation of various operators: op_shift, op_delete, op_tilde,
// op_change, op_yank, do_put, do_join
@@ -3837,7 +3834,7 @@ void ex_display(exarg_T *eap)
n -= 2;
}
for (p = yb->y_array[j];
*p != NUL && (n -= ptr2cells(p)) >= 0; p++) { // -V1019
*p != NUL && (n -= ptr2cells(p)) >= 0; p++) {
clen = utfc_ptr2len(p);
msg_outtrans_len(p, clen, 0);
p += clen - 1;
@@ -6733,7 +6730,7 @@ static void set_clipboard(int name, yankreg_T *reg)
list_T *args = tv_list_alloc(3);
tv_list_append_list(args, lines);
tv_list_append_string(args, &regtype, 1); // -V614
tv_list_append_string(args, &regtype, 1);
tv_list_append_string(args, ((char[]) { (char)name }), 1);
(void)eval_call_provider("clipboard", "set", args, true);