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 )