mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 21:05:39 +00:00
uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
This commit is contained in:
parent
1230d0d280
commit
0d4221fa59
38 changed files with 176 additions and 360 deletions
|
|
@ -202,7 +202,7 @@ public:
|
|||
|
||||
void remove( DelegateSig dlg )
|
||||
{
|
||||
for( DelegateLink* ptr = mList.next;ptr != &mList; ptr = ptr->next )
|
||||
for( DelegateLink* ptr = mList.next;(ptr != &mList)&& (ptr!= NULL); ptr = ptr->next )
|
||||
{
|
||||
if( DelegateLinkImpl* del = static_cast< DelegateLinkImpl* >( ptr ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,7 +70,11 @@ namespace Torque
|
|||
|
||||
UUID()
|
||||
{
|
||||
dMemset( this, 0, sizeof( UUID ) );
|
||||
a = b = c = d = e = 0;
|
||||
for (U32 i = 0; i < 6; i++)
|
||||
{
|
||||
f [i]=0;
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue