Skip to content

Commit 237eed2

Browse files
Pushkar N Kulkarniparkera
authored andcommitted
Fix a build warning in NSDecimal (#694)
1 parent 73d13e5 commit 237eed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSDecimal.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ public func NSDecimalMultiplyByPowerOf10(_ result: UnsafeMutablePointer<Decimal>
14121412

14131413
public func NSDecimalString(_ dcm: UnsafePointer<Decimal>, _ locale: AnyObject?) -> String {
14141414
guard locale == nil else {
1415-
fatalError("Locale not supported: \(locale)")
1415+
fatalError("Locale not supported: \(locale!)")
14161416
}
14171417
return dcm.pointee.description
14181418
}

0 commit comments

Comments
 (0)