diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index 687ead88bc..5eb509b464 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -243,12 +243,8 @@ bool ProfileManager::RenameLocalProfile( CString sProfileID, CString sNewName ) if( lr != Profile::success ) return false; pro.m_sDisplayName = sNewName; - bool bSuccess; - bSuccess = pro.SaveAllToDir( sProfileDir, PREFSMAN->m_bSignProfileData ); - if( !bSuccess ) - return false; - return true; + return pro.SaveAllToDir( sProfileDir, PREFSMAN->m_bSignProfileData ); } bool ProfileManager::DeleteLocalProfile( CString sProfileID )