Skip to content

Commit b803cb1

Browse files
authored
Merge pull request #74325 from apple/elsh/remove-default-case
[SwiftCompilerSources] Remove unnecessary default case from SerializedKind funcs
2 parents 9eba052 + 8b00478 commit b803cb1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

SwiftCompilerSources/Sources/SIL/Function.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ final public class Function : CustomStringConvertible, HasShortDescription, Hash
147147
case .IsNotSerialized: return .notSerialized
148148
case .IsSerialized: return .serialized
149149
case .IsSerializedForPackage: return .serializedForPackage
150-
default: fatalError()
151150
}
152151
}
153152

@@ -156,7 +155,6 @@ final public class Function : CustomStringConvertible, HasShortDescription, Hash
156155
case .notSerialized: return .IsNotSerialized
157156
case .serialized: return .IsSerialized
158157
case .serializedForPackage: return .IsSerializedForPackage
159-
default: fatalError()
160158
}
161159
}
162160

0 commit comments

Comments
 (0)