Skip to content

Commit 4529990

Browse files
authored
[runtime] Silence unreachable code warning (swiftlang#33912)
1 parent 27aad53 commit 4529990

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/runtime/DynamicCast.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,8 +864,9 @@ tryCastToString(
864864
destLocation, destType, srcValue, srcType,
865865
destFailureType, srcFailureType,
866866
takeOnSuccess, mayDeferChecks);
867-
#endif
867+
#else
868868
SWIFT_FALLTHROUGH;
869+
#endif
869870
}
870871
default:
871872
return DynamicCastResult::Failure;

0 commit comments

Comments
 (0)