Skip to content

Commit bb455dd

Browse files
committed
[embedded] Fix a warning in stdlib build about never executed switch case
1 parent e4dc627 commit bb455dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,10 @@ extension ${Self}: BinaryFloatingPoint {
717717
_value = Builtin.int_ceil_FPIEEE${bits}(_value)
718718
case .down:
719719
_value = Builtin.int_floor_FPIEEE${bits}(_value)
720+
#if !$Embedded
720721
@unknown default:
721722
self._roundSlowPath(rule)
723+
#endif
722724
}
723725
}
724726

0 commit comments

Comments
 (0)