diff --git a/IDEHelper/Compiler/BfStmtEvaluator.cpp b/IDEHelper/Compiler/BfStmtEvaluator.cpp index 75fa0018..efc22013 100644 --- a/IDEHelper/Compiler/BfStmtEvaluator.cpp +++ b/IDEHelper/Compiler/BfStmtEvaluator.cpp @@ -5874,7 +5874,7 @@ void BfModule::Visit(BfForEachStatement* forEachStmt) auto targetTypeInstance = target.mType->ToTypeInstance(); itr = target; - bool hadGetEnumeratorType; + bool hadGetEnumeratorType = false; if (targetTypeInstance != NULL) {