mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
Meta: Suppress PVS Studio Rule v603
This rule seems to be confused about basic syntax of C++. It flags with false positives such as: ``` The object was created but it is not being used. If you wish to call constructor, 'this->set_y::set_y(....)' should be used. ``` Lets suppress it until it can be fixed.
This commit is contained in:
parent
2afcd45299
commit
95df8882e6
1 changed files with 2 additions and 1 deletions
|
@ -107,11 +107,12 @@ jobs:
|
|||
# V1047 Lifetime of the lambda is greater than lifetime of the local variable captured by reference.
|
||||
# V1076 Code contains invisible characters that may alter its logic.
|
||||
# V591 Non-void function should return a value.
|
||||
# V603 Object was created but is not being used.
|
||||
#
|
||||
- name: Filter PVS Log
|
||||
working-directory: ${{ github.workspace }}/Build/${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
|
||||
run: |
|
||||
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 -v1076 -v591 project.plog
|
||||
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 -v1076 -v591 -v603 project.plog
|
||||
pvs-studio-analyzer filter-suppressed project.plog
|
||||
|
||||
- name: Print PVS Log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue