remove unused variables
This commit is contained in:
@@ -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.";
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user