Skip to content

Conversation

@ivmai
Copy link
Contributor

@ivmai ivmai commented Jan 10, 2018

This commit fixes https://trac.cppcheck.net/ticket/7502 ticket by returning error flag from analyseWholeProgram. The provided test case in the ticket succeeds now.

@danmar
Copy link
Owner

danmar commented Jan 11, 2018

I will review this when CI is happy. it seems that on AppVeyor there are some unusedFunction assertion errors. Possibly these are fixed if it is re-run.

@ivmai ivmai force-pushed the ret-exitcode-on-unused-function branch from 905ca87 to ffbb9b6 Compare January 11, 2018 16:27
@ivmai
Copy link
Contributor Author

ivmai commented Jan 11, 2018

All tests now pass after a slight (semantically equivalent) modification of the assertion condition. It's strange that previous commit led to an assertion failure on MS VS 10.0 (and only in case of Release build).

@danmar danmar merged commit 97ffec8 into danmar:master Jan 12, 2018
ivmai added a commit to ivmai/cppcheck that referenced this pull request Feb 1, 2018
ivmai added a commit to ivmai/cppcheck that referenced this pull request Feb 5, 2018
danmar pushed a commit that referenced this pull request Feb 6, 2018
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