Fix #8159 FN unusedFunction: sole recursive call#6517
Fix #8159 FN unusedFunction: sole recursive call#6517chrchr-github merged 12 commits intocppcheck-opensource:mainfrom
Conversation
| @@ -180,7 +181,7 @@ class TestUnusedFunctions : public TestFixture { | |||
| " if (cond) ;\n" | |||
There was a problem hiding this comment.
Maybe also add the missing cond variable when fixing this up.
There was a problem hiding this comment.
cond could be an unknown global variable.
The return2() test is not compilable though.
|
Do we want to keep |
The logic was apparently moved to simplecpp in 03d2829 shortly after it was added in 3095f47. So we should remove it.
Add suppressions for these for now with comments which indicate how they are (not) used. |
|
We have a bunch of code that deals with "markup files". Is this tested explicitly anywhere? |
That is tested in |
I see, thanks. That's one of the reasons for using strings to identify functions instead of |
No description provided.