mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +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
|
||||
|
||||
// spellsuggest.c: functions for spelling suggestions
|
||||
|
||||
#include <assert.h>
|
||||
@@ -1173,7 +1170,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char *fword, bool soun
|
||||
// word).
|
||||
int depth = 0;
|
||||
trystate_T *sp = &stack[0];
|
||||
CLEAR_POINTER(sp); // -V1086
|
||||
CLEAR_POINTER(sp);
|
||||
sp->ts_curi = 1;
|
||||
|
||||
if (soundfold) {
|
||||
|
Reference in New Issue
Block a user