Skip to content

queue: clean up a covered switch #400

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

Merged
merged 1 commit into from
Oct 12, 2018
Merged

Conversation

compnerd
Copy link
Member

clang objects to the default case in a covered switch:

src/queue.c:1127:2: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]

Remove the label, relying on the covered switch to catch the issue.

clang objects to the `default` case in a covered switch:

	src/queue.c:1127:2: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]

Remove the label, relying on the covered switch to catch the issue.
@compnerd
Copy link
Member Author

Please test with the following PRs:
#399

@swift-ci please test

@compnerd compnerd merged commit 0710b29 into swiftlang:master Oct 12, 2018
@compnerd compnerd deleted the cleanup branch October 12, 2018 00:10
rokhinip pushed a commit that referenced this pull request Nov 5, 2021
queue: clean up a covered switch
Signed-off-by: Kim Topley <[email protected]>
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