Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return point counting where code is inaccessible #59

Closed
bright-tools opened this issue Mar 29, 2015 · 0 comments · Fixed by #83
Closed

Return point counting where code is inaccessible #59

bright-tools opened this issue Mar 29, 2015 · 0 comments · Fixed by #83
Assignees
Labels
Milestone

Comments

@bright-tools
Copy link
Owner

In the following example:

int inaccessible_code_return( int x ) { return 3; if( x > 10 ) { return 1; } }

There is only one true return point, as the 'if' is inaccessible. Currently CCSM evaluates this function as having 2 return points.

@bright-tools bright-tools self-assigned this Jan 9, 2016
@bright-tools bright-tools added this to the Release 0.3 milestone Jan 9, 2016
bright-tools added a commit that referenced this issue Jan 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant