Removed unused variable.

This commit is contained in:
hiker 2014-02-17 07:47:01 +11:00
parent c2b4f42c93
commit 10db4d6c2c
2 changed files with 0 additions and 11 deletions

View File

@ -89,15 +89,6 @@ UnlockManager::~UnlockManager()
delete i->second;
}
std::map<unsigned int, GameSlot*>::iterator it;
for (it = m_game_slots.begin(); it != m_game_slots.end(); it++)
{
delete it->second;
}
// sfx_manager is destroyed before UnlockManager is, so SFX will be already deleted
// sfx_manager->deleteSFX(m_locked_sound);
} // ~UnlockManager
//-----------------------------------------------------------------------------

View File

@ -46,8 +46,6 @@ private:
typedef std::map<std::string, ChallengeData*> AllChallengesType;
AllChallengesType m_all_challenges;
std::map<unsigned int , GameSlot*> m_game_slots;
void readAllChallengesInDirs(const std::vector<std::string>* all_dirs);
friend class GameSlot;