Don't return NULL.

This commit is contained in:
Steve Checkoway
2006-09-20 00:04:19 +00:00
parent 6016440012
commit c9e0e7e51d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ RString ProfileManager::GetProfileDirImportedFrom( ProfileSlot slot ) const
case ProfileSlot_Player2: case ProfileSlot_Player2:
return m_sProfileDirImportedFrom[slot]; return m_sProfileDirImportedFrom[slot];
case ProfileSlot_Machine: case ProfileSlot_Machine:
return NULL; return RString();
default: default:
ASSERT(0); ASSERT(0);
} }
@@ -416,7 +416,7 @@ RString ScreenOptionsManageProfiles::GetLocalProfileIDWithFocus() const
{ {
int iIndex = GetLocalProfileIndexWithFocus(); int iIndex = GetLocalProfileIndexWithFocus();
if( iIndex == -1 ) if( iIndex == -1 )
return NULL; return RString();
return m_vsLocalProfileID[iIndex]; return m_vsLocalProfileID[iIndex];
} }