mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
fix warn reports for buffer oveeruns
also misc uninitialized vars
This commit is contained in:
parent
1230d0d280
commit
9e036f142b
6 changed files with 11 additions and 9 deletions
|
|
@ -682,7 +682,7 @@ public:
|
|||
T::initPersistFields();
|
||||
T::consoleInit();
|
||||
|
||||
EnginePropertyTable::Property* props = new EnginePropertyTable::Property[sg_tempFieldList.size()];
|
||||
EnginePropertyTable::Property* props = new EnginePropertyTable::Property[sg_tempFieldList.size() + 1];
|
||||
|
||||
for (int i = 0; i < sg_tempFieldList.size(); ++i)
|
||||
{
|
||||
|
|
@ -825,7 +825,7 @@ class ConsoleObject : public EngineObject
|
|||
protected:
|
||||
|
||||
/// @deprecated This is disallowed.
|
||||
ConsoleObject(const ConsoleObject&);
|
||||
ConsoleObject(const ConsoleObject&) { mDocsClick = false; };
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
|
|
@ -863,7 +863,7 @@ public:
|
|||
public:
|
||||
|
||||
/// Get the classname from a class tag.
|
||||
static const char* lookupClassName(const U32 in_classTag);
|
||||
static const char* lookupClassName(const U32 in_classTag) {};
|
||||
|
||||
/// @name Fields
|
||||
/// @{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue