Fix member vars left uninitialized in constructors

This commit is contained in:
Ben Payne 2015-02-10 17:02:15 -05:00
parent 3fe0fe1b92
commit 0ffd7f5620
23 changed files with 68 additions and 19 deletions

View file

@ -39,7 +39,7 @@ protected:
const UTF16* mUTF16;
U32 mLength;
StrTest() : mData( 0 ), mUTF16( 0 ) {}
StrTest() : mData( 0 ), mUTF16( 0 ), mLength( 0 ) {}
StrTest( const char* str )
: mData( str ), mLength( str ? dStrlen( str ) : 0 ), mUTF16( NULL )
{