Skip to content

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