Skip to content

fix #14795: FP unusedStructMember when type is a template parameter#8600

Open
ludviggunne wants to merge 2 commits into
cppcheck-opensource:mainfrom
ludviggunne:14795
Open

fix #14795: FP unusedStructMember when type is a template parameter#8600
ludviggunne wants to merge 2 commits into
cppcheck-opensource:mainfrom
ludviggunne:14795

Conversation

@ludviggunne
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread test/testunusedvar.cpp
ASSERT_EQUALS("[test.cpp:2:24]: (style) struct member 'S::p' is never used. [unusedStructMember]\n", errout_str());
}

void structmember35() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Those test cases should probably be combined into one.

@chrchr-github
Copy link
Copy Markdown
Collaborator

I wonder why the TODO in boost.cpp is not resolved.

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