mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 23:56:05 +02:00
Fixed null check
This commit is contained in:
parent
699243e3e0
commit
6077a343ca
1 changed files with 1 additions and 1 deletions
|
@ -5991,7 +5991,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
|
||||||
}
|
}
|
||||||
|
|
||||||
BfTypedValue target;
|
BfTypedValue target;
|
||||||
if (forEachStmt->mCollectionExpression != NULL)
|
if (collectionExpr != NULL)
|
||||||
target = CreateValueFromExpression(collectionExpr);
|
target = CreateValueFromExpression(collectionExpr);
|
||||||
if (!target)
|
if (!target)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue