chore: PVS/V1042 - ignore warning globally.

V1042 is a warning that a file has a copyleft license, which is an
irrelevant warning to open-source projects.
This commit is contained in:
Dundar Göc 2021-07-16 18:36:16 +02:00
parent 5377b2b00a
commit 9f6989d551

View File

@ -379,7 +379,7 @@ run_analysis() {(
--sourcetree-root . || true --sourcetree-root . || true
rm -rf PVS-studio.{xml,err,tsk,html.d} rm -rf PVS-studio.{xml,err,tsk,html.d}
local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011" local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011,V1042"
plog-converter $plog_args --renderTypes xml --output PVS-studio.xml 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 errorfile --output PVS-studio.err
plog-converter $plog_args --renderTypes tasklist --output PVS-studio.tsk plog-converter $plog_args --renderTypes tasklist --output PVS-studio.tsk