mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
* BugFix: Clear some MSVC compiler warnings.
This commit is contained in:
parent
026409ed7f
commit
5d26dba7da
23 changed files with 24 additions and 111 deletions
|
|
@ -717,7 +717,7 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
TelDebugger->pushStackFrame();
|
||||
|
||||
StringTableEntry var, objParent;
|
||||
U32 failJump;
|
||||
U32 failJump = 0;
|
||||
StringTableEntry fnName;
|
||||
StringTableEntry fnNamespace, fnPackage;
|
||||
|
||||
|
|
@ -776,7 +776,6 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
fnNamespace = CodeToSTE(code, ip + 2);
|
||||
fnPackage = CodeToSTE(code, ip + 4);
|
||||
bool hasBody = (code[ip + 6] & 0x01) != 0;
|
||||
U32 lineNumber = code[ip + 6] >> 1;
|
||||
|
||||
Namespace::unlinkPackages();
|
||||
if (fnNamespace == NULL && fnPackage == NULL)
|
||||
|
|
@ -1819,8 +1818,6 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
|
|||
// it handles this method. It is set to an enum from the table
|
||||
// above indicating whether it handles it on a component it owns
|
||||
// or just on the object.
|
||||
S32 routingId = 0;
|
||||
|
||||
fnName = CodeToSTE(code, ip);
|
||||
fnNamespace = CodeToSTE(code, ip + 2);
|
||||
U32 callType = code[ip + 4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue