The big NULL replacement party part 1.

This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
This commit is contained in:
Jason Felds
2013-05-03 23:01:54 -04:00
parent b22a3bd3c4
commit 9f24627bf9
167 changed files with 31932 additions and 31932 deletions
+6 -6
View File
@@ -1367,7 +1367,7 @@ XNode* Profile::SaveSongScoresCreateNode() const
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
ASSERT( pProfile != nullptr );
XNode* pNode = new XNode( "SongScores" );
@@ -1448,7 +1448,7 @@ XNode* Profile::SaveCourseScoresCreateNode() const
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
ASSERT( pProfile != nullptr );
XNode* pNode = new XNode( "CourseScores" );
@@ -1556,7 +1556,7 @@ XNode* Profile::SaveCategoryScoresCreateNode() const
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
ASSERT( pProfile != nullptr );
XNode* pNode = new XNode( "CategoryScores" );
@@ -1628,7 +1628,7 @@ void Profile::LoadCategoryScoresFromNode( const XNode* pCategoryScores )
void Profile::SaveStatsWebPageToDir( RString sDir ) const
{
ASSERT( PROFILEMAN != NULL );
ASSERT( PROFILEMAN != nullptr );
}
void Profile::SaveMachinePublicKeyToDir( RString sDir ) const
@@ -1664,7 +1664,7 @@ XNode* Profile::SaveScreenshotDataCreateNode() const
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
ASSERT( pProfile != nullptr );
XNode* pNode = new XNode( "ScreenshotData" );
@@ -1706,7 +1706,7 @@ XNode* Profile::SaveCalorieDataCreateNode() const
CHECKPOINT;
const Profile* pProfile = this;
ASSERT( pProfile != NULL );
ASSERT( pProfile != nullptr );
XNode* pNode = new XNode( "CalorieData" );