Skip to content

Commit d80d7cf

Browse files
authored
Merge pull request swiftlang#33838 from shabalind/topic/fix-fallthrough-warning
Add missing SWIFT_FALLTHROUGH to the tryCastToString
2 parents 4865207 + 78c957f commit d80d7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/runtime/DynamicCast.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ tryCastToString(
862862
destFailureType, srcFailureType,
863863
takeOnSuccess, mayDeferChecks);
864864
#endif
865+
SWIFT_FALLTHROUGH;
865866
}
866867
default:
867868
return DynamicCastResult::Failure;

0 commit comments

Comments
 (0)