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

Fixed uninitialized variable

This commit is contained in:
Brian Fiete 2020-06-04 11:46:02 -07:00
parent 079ac03d38
commit 198acef1c6

View file

@ -5874,7 +5874,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt)
auto targetTypeInstance = target.mType->ToTypeInstance();
itr = target;
bool hadGetEnumeratorType;
bool hadGetEnumeratorType = false;
if (targetTypeInstance != NULL)
{