Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Aug 10, 2020

I noticed this today when using occ. The warning behaviour was introduced with #16737, no biggie.

@blizzz blizzz added this to the Nextcloud 20 milestone Aug 10, 2020
@faily-bot

This comment has been minimized.

@tofuSCHNITZEL
Copy link
Contributor

since the switch is in a loop I think continue 2 would be "more correct" but break has the same effect in this case.

Copy link
Contributor

@tofuSCHNITZEL tofuSCHNITZEL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the switch is in a loop I think continue 2 would be "more correct" but break has the same effect in this case.

@MorrisJobke MorrisJobke merged commit dffa155 into master Aug 11, 2020
@MorrisJobke MorrisJobke deleted the fix/noid/warning-continue-break branch August 11, 2020 07:41
@blizzz
Copy link
Member Author

blizzz commented Aug 11, 2020

since the switch is in a loop I think continue 2 would be "more correct" but break has the same effect in this case.

yes, same effect.

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 this pull request may close these issues.

5 participants