Removing unused var 'slotfile'
authorTobias Markus <tobbi@mozilla-uk.org>
Sun, 23 Nov 2014 21:25:31 +0000 (22:25 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Sun, 23 Nov 2014 21:25:31 +0000 (22:25 +0100)
src/supertux/world.cpp

index b6734cc..f9a2e0a 100644 (file)
@@ -44,7 +44,6 @@ World::load(const std::string& directory)
     std::string worlddirname = FileSystem::basename(directory);
     std::ostringstream stream;
     stream << "profile" << g_config->profile << "/" << worlddirname << ".stsg";
-    std::string slotfile = stream.str();
     world->m_savegame_filename = stream.str();
   }