Skip to content

Commit 3914b35

Browse files
committed
AST: Fix unused variable warning.
1 parent 453f99e commit 3914b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/Availability.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ bool AvailabilityInference::updateBeforeAvailabilityDomainForFallback(
373373
auto potentiallyRemappedIntroducedVersion =
374374
getRemappedIntroducedVersionForFallbackPlatform(ctx, beforeVersion);
375375
if (potentiallyRemappedIntroducedVersion.has_value()) {
376-
domain = AvailabilityDomain::forPlatform(PlatformKind::visionOS);
376+
domain = remappedDomain;
377377
platformVer = potentiallyRemappedIntroducedVersion.value();
378378
return true;
379379
}

0 commit comments

Comments
 (0)