The big NULL replacement party part 5.

Right. ' = NULL' would get a lot of these.
This commit is contained in:
Jason Felds
2013-05-03 23:39:52 -04:00
parent 328c41eec0
commit 28e5148dec
233 changed files with 7448 additions and 7447 deletions
+3 -3
View File
@@ -55,7 +55,7 @@ void RageSoundReader_Chain::AddSound( int iIndex, float fOffsetSecs, float fPan
s.iIndex = iIndex;
s.iOffsetMS = lrintf( fOffsetSecs * 1000 );
s.fPan = fPan;
s.pSound = NULL;
s.pSound = nullptr;
m_aSounds.push_back( s );
}
@@ -130,7 +130,7 @@ void RageSoundReader_Chain::Finish()
LOG->Warn( "Discarded sound with %i channels, not %i",
it->GetNumChannels(), m_iChannels );
delete it;
it = NULL;
it = nullptr;
}
}
}
@@ -240,7 +240,7 @@ void RageSoundReader_Chain::ReleaseSound( Sound *s )
RageSoundReader *&pSound = s->pSound;
delete pSound;
pSound = NULL;
pSound = nullptr;
m_apActiveSounds.erase( it );
}