diff --git a/bin/tests/test_math.cpp b/bin/tests/test_math.cpp index e5667bff642..9329002f769 100644 --- a/bin/tests/test_math.cpp +++ b/bin/tests/test_math.cpp @@ -516,7 +516,7 @@ MainLoop* test() { { - Vector hashes; + Vector hashes; List tl; ObjectTypeDB::get_type_list(&tl); diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 6b3828a5726..5ed2415e36d 100644 --- a/core/variant_parser.cpp +++ b/core/variant_parser.cpp @@ -1177,16 +1177,16 @@ Error VariantParser::parse_value(Token& token,Variant &value,Stream *p_stream,in } else if (id=="IntArray") { - Vector args; - Error err = _parse_construct(p_stream,args,line,r_err_str); + Vector args; + Error err = _parse_construct(p_stream,args,line,r_err_str); if (err) return err; - DVector arr; + DVector arr; { int len=args.size(); arr.resize(len); - DVector::Write w = arr.write(); + DVector::Write w = arr.write(); for(int i=0;i