diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-04-25 03:51:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 18:51:22 -0700 |
commit | 933274c438107adadde5ff854340ed1fae18d3fe (patch) | |
tree | 17c7d782065157e43619a667b9662f87e862d06e /scripts/pvscheck.sh | |
parent | 68d27e156ce42f1c8428a8deb5206e4c16cb14d4 (diff) | |
download | rneovim-933274c438107adadde5ff854340ed1fae18d3fe.tar.gz rneovim-933274c438107adadde5ff854340ed1fae18d3fe.tar.bz2 rneovim-933274c438107adadde5ff854340ed1fae18d3fe.zip |
fix/PVS #17863
* fix(PVS/V002): disable rule completely
V002: "Some diagnostic messages may contain incorrect line number in
this file." This particular check seems unreliable. It says on their
website https://pvs-studio.com/en/docs/warnings/v002/ that this warning
occurs when there are multiline pragmas, but there are none in
extmark.c.
* fix(PVS/V756): ignore "counter is not used inside a nested loop" warning
The nested loop starts with "AutoCmd *ac = ap->cmds" so "ap" is
definitely used.
* fix(PVS/V560): disable "a part of conditional expression is always true"
* fix(PVS/V614): potentially uninitialized variable 'blen' used
Diffstat (limited to 'scripts/pvscheck.sh')
-rwxr-xr-x | scripts/pvscheck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh index 195a76763f..a931231fbd 100755 --- a/scripts/pvscheck.sh +++ b/scripts/pvscheck.sh @@ -380,7 +380,7 @@ run_analysis() {( --sourcetree-root . || true rm -rf PVS-studio.{xml,err,tsk,html.d} - local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011,V1042,V1051,V1074" + local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011,V1042,V1051,V1074,V002" plog-converter $plog_args --renderTypes xml --output PVS-studio.xml plog-converter $plog_args --renderTypes errorfile --output PVS-studio.err plog-converter $plog_args --renderTypes tasklist --output PVS-studio.tsk |