mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
further console cleanups. mostly of the form of correcting uninitialized values. some arithmatic sizes
(cherry picked from commit 833149e962d165aa4c10e6c760bb1a1116d1baf8)
This commit is contained in:
parent
fed381c945
commit
b86716c670
5 changed files with 51 additions and 36 deletions
|
|
@ -723,7 +723,7 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
struct {
|
||||
SimObject* newObject;
|
||||
U32 failJump;
|
||||
} objectCreationStack[objectCreationStackSize];
|
||||
} objectCreationStack[objectCreationStackSize] = {};
|
||||
|
||||
SimObject* currentNewObject = 0;
|
||||
StringTableEntry prevField = NULL;
|
||||
|
|
@ -2346,7 +2346,7 @@ execFinished:
|
|||
AssertFatal(!(_STK < stackStart), "String stack popped too much in script exec");
|
||||
#endif
|
||||
|
||||
return std::move(returnValue);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue