remove unused variables
This commit is contained in:
@@ -48,7 +48,6 @@ bool IniFile::ReadFile()
|
|||||||
CFileStatus status;
|
CFileStatus status;
|
||||||
if (!file.GetStatus(path,status))
|
if (!file.GetStatus(path,status))
|
||||||
return 0;
|
return 0;
|
||||||
int curkey = -1, curval = -1;
|
|
||||||
if (!file.Open(path, CFile::modeRead))
|
if (!file.Open(path, CFile::modeRead))
|
||||||
{
|
{
|
||||||
error = "Unable to open ini file.";
|
error = "Unable to open ini file.";
|
||||||
|
|||||||
@@ -141,8 +141,7 @@ void ScreenEditMenu::MenuStart( PlayerNumber pn )
|
|||||||
|
|
||||||
GAMESTATE->m_pCurSong = Selector.GetSelectedSong();
|
GAMESTATE->m_pCurSong = Selector.GetSelectedSong();
|
||||||
|
|
||||||
// find the first style that matches this notes type
|
// get the style
|
||||||
GameDef* pGameDef = GAMESTATE->GetCurrentGameDef();
|
|
||||||
GAMESTATE->m_CurStyle = Selector.GetSelectedStyle();
|
GAMESTATE->m_CurStyle = Selector.GetSelectedStyle();
|
||||||
GAMESTATE->m_pCurNotes[PLAYER_1] = Selector.GetSelectedNotes();
|
GAMESTATE->m_pCurNotes[PLAYER_1] = Selector.GetSelectedNotes();
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,6 @@ void SongManager::InitSongArrayFromDisk( void(*callback)() )
|
|||||||
|
|
||||||
for( i=0; i<m_pSongs.GetSize(); i++ )
|
for( i=0; i<m_pSongs.GetSize(); i++ )
|
||||||
{
|
{
|
||||||
Song* pSong = m_pSongs[i];
|
|
||||||
const CString sGroupName = m_pSongs[i]->m_sGroupName;
|
const CString sGroupName = m_pSongs[i]->m_sGroupName;
|
||||||
|
|
||||||
if( m_arrayGroupNames.GetSize() == 0 || m_arrayGroupNames[m_arrayGroupNames.GetSize()-1] != sGroupName )
|
if( m_arrayGroupNames.GetSize() == 0 || m_arrayGroupNames[m_arrayGroupNames.GetSize()-1] != sGroupName )
|
||||||
|
|||||||
Reference in New Issue
Block a user