We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87fdbae commit d2d865dCopy full SHA for d2d865d
Sources/FoundationInternationalization/ICU/ICUPatternGenerator.swift
@@ -38,8 +38,8 @@ final class ICUPatternGenerator {
38
39
func _patternForSkeleton(_ skeleton: String) -> String {
40
var status = U_ZERO_ERROR
41
- try! status.checkSuccess()
42
let clonedPatternGenerator = udatpg_clone(upatternGenerator, &status)
+ try! status.checkSuccess()
43
defer {
44
udatpg_close(clonedPatternGenerator)
45
}
0 commit comments