War on -Werror, part 12: explicit bool usage.
It may save a few cycles, but it's best to be explicit on boolean operations, especially with ASSERT.
This commit is contained in:
@@ -101,9 +101,9 @@ void ScoreKeeperNormal::Load(
|
||||
for( unsigned i=0; i<apSteps.size(); i++ )
|
||||
{
|
||||
Song* pSong = apSongs[i];
|
||||
ASSERT( pSong );
|
||||
ASSERT( pSong != NULL );
|
||||
Steps* pSteps = apSteps[i];
|
||||
ASSERT( pSteps );
|
||||
ASSERT( pSteps != NULL );
|
||||
const AttackArray &aa = asModifiers[i];
|
||||
NoteData ndTemp;
|
||||
pSteps->GetNoteData( ndTemp );
|
||||
|
||||
Reference in New Issue
Block a user