mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 13:24:09 +02:00
Fixed unreachable code warning with lambda dtor
This commit is contained in:
parent
fa9b0d2297
commit
503590cea5
1 changed files with 4 additions and 3 deletions
|
@ -11927,6 +11927,7 @@ void BfExprEvaluator::VisitLambdaBodies(BfAstNode* body, BfFieldDtorDeclaration*
|
||||||
|
|
||||||
while (fieldDtor != NULL)
|
while (fieldDtor != NULL)
|
||||||
{
|
{
|
||||||
|
mModule->mCurMethodState->mLeftBlockUncond = false;
|
||||||
mModule->VisitChild(fieldDtor->mBody);
|
mModule->VisitChild(fieldDtor->mBody);
|
||||||
fieldDtor = fieldDtor->mNextFieldDtor;
|
fieldDtor = fieldDtor->mNextFieldDtor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue