Skip to content

Commit 1b8e61c

Browse files
committed
[Concurrency] Remove an unused variable in ActorIsolationChecker::checkLocalCapture.
1 parent 14ced21 commit 1b8e61c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/TypeCheckConcurrency.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3578,10 +3578,6 @@ namespace {
35783578
}
35793579

35803580
// Otherwise, we have concurrent access. Complain.
3581-
bool preconcurrencyContext =
3582-
getActorIsolationOfContext(
3583-
const_cast<DeclContext *>(getDeclContext())).preconcurrency();
3584-
35853581
ctx.Diags.diagnose(
35863582
loc, diag::concurrent_access_of_local_capture,
35873583
parent.dyn_cast<LoadExpr *>(),

0 commit comments

Comments
 (0)