Skip to content

Fix 11171: False positive: missing return statement when std::enable_if_t is used#4504

Merged
orbitcowboy merged 4 commits intocppcheck-opensource:mainfrom
pfultz2:returns-enable_if
Sep 26, 2022
Merged

Fix 11171: False positive: missing return statement when std::enable_if_t is used#4504
orbitcowboy merged 4 commits intocppcheck-opensource:mainfrom
pfultz2:returns-enable_if

Conversation

@pfultz2
Copy link
Copy Markdown
Contributor

@pfultz2 pfultz2 commented Sep 24, 2022

No description provided.

@firewave
Copy link
Copy Markdown
Collaborator

You can simply suppress the warning as a false positive and file a ticket about it. Hiding known issues is not a good idea.

@pfultz2
Copy link
Copy Markdown
Contributor Author

pfultz2 commented Sep 25, 2022

I filed a ticket here: https://trac.cppcheck.net/ticket/11332

@firewave
Copy link
Copy Markdown
Collaborator

I filed a ticket here: https://trac.cppcheck.net/ticket/11332

Great! Thanks!

@orbitcowboy orbitcowboy merged commit fc39a4d into cppcheck-opensource:main Sep 26, 2022
@pfultz2 pfultz2 deleted the returns-enable_if branch October 11, 2022 13:45
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