1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed unreachable code warning with lambda dtor

This commit is contained in:
Brian Fiete 2021-02-10 09:03:17 -08:00
parent fa9b0d2297
commit 503590cea5

View file

@ -11927,6 +11927,7 @@ void BfExprEvaluator::VisitLambdaBodies(BfAstNode* body, BfFieldDtorDeclaration*
while (fieldDtor != NULL)
{
mModule->mCurMethodState->mLeftBlockUncond = false;
mModule->VisitChild(fieldDtor->mBody);
fieldDtor = fieldDtor->mNextFieldDtor;
}