Skip to content

Commit 2078aa9

Browse files
committed
[Distributed] NFC: remove a couple of unused variables from sythensis code
1 parent 9986e1c commit 2078aa9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Sema/CodeSynthesisDistributedActor.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@ deriveBodyDistributed_thunk(AbstractFunctionDecl *thunk, void *context) {
259259

260260
auto var = accessor->getStorage();
261261

262-
auto varRef = UnresolvedDeclRefExpr::createImplicit(C, var->getName());
263-
auto funcDeclRef =
264-
UnresolvedDotExpr::createImplicit(C, selfRefExpr, var->getBaseName());
265-
266262
Expr *localPropertyAccess = new (C) MemberRefExpr(
267263
selfRefExpr, sloc, ConcreteDeclRef(var), dloc, implicit);
268264
localPropertyAccess =

0 commit comments

Comments
 (0)