Skip to content

CheckIO: make sure ArgumentInfo::tempToken is sufficiently initialized#5932

Merged
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:tok-x
Feb 8, 2024
Merged

CheckIO: make sure ArgumentInfo::tempToken is sufficiently initialized#5932
chrchr-github merged 1 commit into
cppcheck-opensource:mainfrom
firewave:tok-x

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

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.

did you see some false positives or compiler warnings or something? if false positives.. a unit test can be added.. but I assume you would have added it then.

@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Feb 4, 2024

I have no idea how to even trigger that as the code is so complex. It was just inconsistent and will help towards avoiding those asserts in #5853.

@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Feb 4, 2024

I didn't actually answer your question.

I came across this by reviewing code. The follow-up PR will show that a test is partially unnecessary.

@firewave
Copy link
Copy Markdown
Collaborator Author

firewave commented Feb 6, 2024

Anything still to do here? This is holding up a lot of follow-up PRs...

@chrchr-github chrchr-github merged commit 6ee2c86 into cppcheck-opensource:main Feb 8, 2024
@firewave firewave deleted the tok-x branch February 8, 2024 15:57
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.

3 participants