aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-29 10:32:00 +0800
committerGitHub <noreply@github.com>2022-07-29 10:32:00 +0800
commit0b8bade493235cda9d8ab3ed138d6c94d7cef759 (patch)
treebce62c9421e9e72a164dfe09da9523e84f3e8c80
parent1ebe7cd1604fccb1a5e15ae5c70f4229f136c6f3 (diff)
downloadrneovim-0b8bade493235cda9d8ab3ed138d6c94d7cef759.tar.gz
rneovim-0b8bade493235cda9d8ab3ed138d6c94d7cef759.tar.bz2
rneovim-0b8bade493235cda9d8ab3ed138d6c94d7cef759.zip
build(pvscheck): disable PVS/V1028 (#19553)
Most casts where PVS warns for V1028 aren't added to prevent overflows in the first place, but to avoid other warnings, like printf argument or -Wconversion warnings. PVS/V1028 is more annoying than useful.
-rwxr-xr-xscripts/pvscheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh
index a931231fbd..d48fe6f99a 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,V002"
+ local plog_args="PVS-studio.log --srcRoot . --excludedCodes V002,V011,V1024,V1042,V1051,V1074"
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