Skip to content

Commit 9512927

Browse files
authored
Merge pull request #39817 from AtariDreams/unsafesendable
2 parents e7bb202 + 1415739 commit 9512927

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
@@ -444,7 +444,6 @@ static AsyncTaskAndContext swift_task_create_commonImpl(
444444
ExecutorRef executor = ExecutorRef::generic();
445445
TaskGroup *group = nullptr;
446446
AsyncLet *asyncLet = nullptr;
447-
void *asyncLetBuffer = nullptr;
448447
bool hasAsyncLetResultBuffer = false;
449448
for (auto option = options; option; option = option->getParent()) {
450449
switch (option->getKind()) {
@@ -472,7 +471,6 @@ static AsyncTaskAndContext swift_task_create_commonImpl(
472471
// context, so that we can emplace the eventual result there instead
473472
// of in a FutureFragment.
474473
hasAsyncLetResultBuffer = true;
475-
asyncLetBuffer = aletRecord->getResultBuffer();
476474
assert(asyncLet && "Missing async let storage");
477475

478476
jobFlags.task_setIsAsyncLetTask(true);

0 commit comments

Comments
 (0)