mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -890,6 +890,7 @@ DefineEngineMethod( SimSet, listObjects, void, (),,
|
|||
for(itr = object->begin(); itr != object->end(); itr++)
|
||||
{
|
||||
SimObject *obj = *itr;
|
||||
if (obj == nullptr) continue;
|
||||
bool isSet = dynamic_cast<SimSet *>(obj) != 0;
|
||||
const char *name = obj->getName();
|
||||
if(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue