Skip to content

Fix #12184: false positive: misra 11.6, cast expression '0U' to 'void*'#5666

Merged
danmar merged 1 commit intocppcheck-opensource:mainfrom
swasti16:swasti/12184_11.6
Nov 16, 2023
Merged

Fix #12184: false positive: misra 11.6, cast expression '0U' to 'void*'#5666
danmar merged 1 commit intocppcheck-opensource:mainfrom
swasti16:swasti/12184_11.6

Conversation

@swasti16
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens if getKnownIntValue() returns None.
does a None != 0 comparison crash?

@danmar danmar merged commit 81a03e7 into cppcheck-opensource:main Nov 16, 2023
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