diff --git a/src/script_opt/Stmt.cc b/src/script_opt/Stmt.cc index 58521849d1..2e01d66002 100644 --- a/src/script_opt/Stmt.cc +++ b/src/script_opt/Stmt.cc @@ -624,7 +624,7 @@ StmtPtr ForStmt::DoReduce(Reducer* c) body = body->Reduce(c); if ( body->Tag() == STMT_NULL ) - Error("empty \"for\" body leaves loop variables in indeterminant state"); + Warn("empty \"for\" body leaves loop variables in indeterminant state"); if ( red_e_stmt ) return TransformMe(make_intrusive(red_e_stmt, this), c);