remove unused variables

This commit is contained in:
Glenn Maynard
2002-09-07 10:00:58 +00:00
parent f6b1b4a2a4
commit ff279255d5
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -48,7 +48,6 @@ bool IniFile::ReadFile()
CFileStatus status;
if (!file.GetStatus(path,status))
return 0;
int curkey = -1, curval = -1;
if (!file.Open(path, CFile::modeRead))
{
error = "Unable to open ini file.";
+1 -2
View File
@@ -141,8 +141,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
GAMESTATE->m_pCurSong = Selector.GetSelectedSong();
// find the first style that matches this notes type
GameDef* pGameDef = GAMESTATE->GetCurrentGameDef();
// get the style
GAMESTATE->m_CurStyle = Selector.GetSelectedStyle();
GAMESTATE->m_pCurNotes[PLAYER_1] = Selector.GetSelectedNotes();
-1
View File
@@ -66,7 +66,6 @@ void SongManager::InitSongArrayFromDisk( void(*callback)() )
for( i=0; i<m_pSongs.GetSize(); i++ )
{
Song* pSong = m_pSongs[i];
const CString sGroupName = m_pSongs[i]->m_sGroupName;
if( m_arrayGroupNames.GetSize() == 0 || m_arrayGroupNames[m_arrayGroupNames.GetSize()-1] != sGroupName )