Skip to content

Explicit continue instead of fall through with a check#695

Merged
PKEuS merged 1 commit into
cppcheck-opensource:masterfrom
Dmitry-Me:explicitContinue
Oct 15, 2015
Merged

Explicit continue instead of fall through with a check#695
PKEuS merged 1 commit into
cppcheck-opensource:masterfrom
Dmitry-Me:explicitContinue

Conversation

@Dmitry-Me
Copy link
Copy Markdown
Collaborator

The current code first sets sz, then falls through, then checks sz and proceeds to the next iteration. It's more explicit to just use continue.

PKEuS added a commit that referenced this pull request Oct 15, 2015
Explicit continue instead of fall through with a check
@PKEuS PKEuS merged commit c228333 into cppcheck-opensource:master Oct 15, 2015
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