1
Fork 0
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:
Brian Gianforcaro 2022-04-03 15:44:56 -07:00 committed by Brian Gianforcaro
parent 2afcd45299
commit 95df8882e6

View file

@ -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