refactor: fix clang and PVS warnings (#19569)

The last commit didn't actually disable V1028 because of a typo.
Fix the typo so it is actually disabled.
This commit is contained in:
zeertzjq
2022-07-29 14:44:18 +08:00
committed by GitHub
parent 0b8bade493
commit 02efdb4d58
5 changed files with 4 additions and 9 deletions

View File

@@ -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 V002,V011,V1024,V1042,V1051,V1074"
local plog_args="PVS-studio.log --srcRoot . --excludedCodes V002,V011,V1028,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