Skip to content

Commit 1415739

Browse files
committed
Remove unused variable
1 parent 338cc32 commit 1415739

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/Concurrency/Task.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ static AsyncTaskAndContext swift_task_create_commonImpl(
433433
ExecutorRef executor = ExecutorRef::generic();
434434
TaskGroup *group = nullptr;
435435
AsyncLet *asyncLet = nullptr;
436-
void *asyncLetBuffer = nullptr;
437436
bool hasAsyncLetResultBuffer = false;
438437
for (auto option = options; option; option = option->getParent()) {
439438
switch (option->getKind()) {
@@ -461,7 +460,6 @@ static AsyncTaskAndContext swift_task_create_commonImpl(
461460
// context, so that we can emplace the eventual result there instead
462461
// of in a FutureFragment.
463462
hasAsyncLetResultBuffer = true;
464-
asyncLetBuffer = aletRecord->getResultBuffer();
465463
assert(asyncLet && "Missing async let storage");
466464

467465
jobFlags.task_setIsAsyncLetTask(true);

0 commit comments

Comments
 (0)