Skip to content

fix cppcheck parser for missing 'file0' in error - #11903

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:cppcheck
Jun 12, 2023
Merged

fix cppcheck parser for missing 'file0' in error#11903
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:cppcheck

Conversation

@maloel

@maloel maloel commented Jun 12, 2023

Copy link
Copy Markdown
Contributor

Offending error was:

        <error id="preprocessorErrorDirective" severity="error" msg="#error \" verbose="">
            <location file="examples/test_dds/UddsPubSubTypes.h" line="32" column="0"/>
        </error>

And the script (cppcheck-parse.py) crashed:

Traceback (most recent call last):
  File ".github/workflows/cppcheck-parse.py", line 62, in <module>
    file0 = e['file0']
KeyError: 'file0'

@maloel
maloel requested a review from Nir-Az June 12, 2023 07:58
@maloel
maloel merged commit 4ad65d9 into realsenseai:development Jun 12, 2023
@maloel
maloel deleted the cppcheck branch June 12, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants