mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
uninitialized variables-console
This commit is contained in:
parent
e9415a0994
commit
2c1508c169
23 changed files with 66 additions and 11 deletions
|
|
@ -203,7 +203,7 @@ public:
|
|||
class StockColorItem
|
||||
{
|
||||
private:
|
||||
StockColorItem() {}
|
||||
StockColorItem():mColorName("") {}
|
||||
|
||||
public:
|
||||
StockColorItem( const char* pName, const U8 red, const U8 green, const U8 blue, const U8 alpha = 255 )
|
||||
|
|
|
|||
|
|
@ -295,6 +295,7 @@ public:
|
|||
AssertFatal( count > 0, "Allocating a FrameTemp with less than one instance" ); \
|
||||
mWaterMark = FrameAllocator::getWaterMark(); \
|
||||
mMemory = reinterpret_cast<type *>( FrameAllocator::alloc( sizeof( type ) * count ) ); \
|
||||
mNumObjectsInMemory = 0; \
|
||||
} \
|
||||
template<>\
|
||||
inline FrameTemp<type>::~FrameTemp() \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue