mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove now-unnecessary default from exhaustive (Bool, Bool) switch.
Swift SVN r27411
This commit is contained in:
@@ -366,8 +366,6 @@ extension String {
|
||||
return Int(_swift_stdlib_unicode_compare_utf8_utf8(
|
||||
lhsPtr, Int32(_core.count),
|
||||
rhsPtr, Int32(rhs._core.count)))
|
||||
default:
|
||||
_preconditionFailure("Unreachable but necessary case for exhaustive switch")
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user