mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
uninitialized variables-console
This commit is contained in:
parent
e9415a0994
commit
2c1508c169
23 changed files with 66 additions and 11 deletions
|
|
@ -475,7 +475,7 @@ Dictionary::Entry::Entry(StringTableEntry in_name)
|
|||
nextEntry = NULL;
|
||||
mUsage = NULL;
|
||||
mIsConstant = false;
|
||||
|
||||
mNext = NULL;
|
||||
// NOTE: This is data inside a nameless
|
||||
// union, so we don't need to init the rest.
|
||||
value.init();
|
||||
|
|
@ -856,6 +856,7 @@ ExprEvalState::ExprEvalState()
|
|||
stack.reserve(64);
|
||||
mShouldReset = false;
|
||||
mResetLocked = false;
|
||||
copyVariable = NULL;
|
||||
}
|
||||
|
||||
ExprEvalState::~ExprEvalState()
|
||||
|
|
@ -927,6 +928,15 @@ Namespace::Entry::Entry()
|
|||
mUsage = NULL;
|
||||
mHeader = NULL;
|
||||
mNamespace = NULL;
|
||||
cb.mStringCallbackFunc = NULL;
|
||||
mFunctionLineNumber = 0;
|
||||
mFunctionName = StringTable->EmptyString();
|
||||
mFunctionOffset = 0;
|
||||
mMinArgs = 0;
|
||||
mMaxArgs = 0;
|
||||
mNext = NULL;
|
||||
mPackage = StringTable->EmptyString();
|
||||
mToolOnly = false;
|
||||
}
|
||||
|
||||
void Namespace::Entry::clear()
|
||||
|
|
@ -959,6 +969,7 @@ Namespace::Namespace()
|
|||
mHashSequence = 0;
|
||||
mRefCountToParent = 0;
|
||||
mClassRep = 0;
|
||||
lastUsage = NULL;
|
||||
}
|
||||
|
||||
Namespace::~Namespace()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue