From ff279255d585e37844e20fcdf4d5b7ca624b8c7f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 7 Sep 2002 10:00:58 +0000 Subject: [PATCH] remove unused variables --- stepmania/src/IniFile.cpp | 1 - stepmania/src/ScreenEditMenu.cpp | 3 +-- stepmania/src/SongManager.cpp | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/IniFile.cpp b/stepmania/src/IniFile.cpp index 8be2ca5879..ce879e2ed6 100644 --- a/stepmania/src/IniFile.cpp +++ b/stepmania/src/IniFile.cpp @@ -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."; diff --git a/stepmania/src/ScreenEditMenu.cpp b/stepmania/src/ScreenEditMenu.cpp index 017083fafd..278df48626 100644 --- a/stepmania/src/ScreenEditMenu.cpp +++ b/stepmania/src/ScreenEditMenu.cpp @@ -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(); diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index b00e3def14..8559f41f7b 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -66,7 +66,6 @@ void SongManager::InitSongArrayFromDisk( void(*callback)() ) for( i=0; im_sGroupName; if( m_arrayGroupNames.GetSize() == 0 || m_arrayGroupNames[m_arrayGroupNames.GetSize()-1] != sGroupName )