mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +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
|
||||
|
||||
// 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, ®type, 1); // -V614
|
||||
tv_list_append_string(args, ®type, 1);
|
||||
tv_list_append_string(args, ((char[]) { (char)name }), 1);
|
||||
|
||||
(void)eval_call_provider("clipboard", "set", args, true);
|
||||
|
Reference in New Issue
Block a user