Remove a variable which is only assigned.

Issue found by cppcheck.
This commit is contained in:
Mark de Wever 2011-07-31 16:56:46 +00:00
parent dcc86d0a29
commit 287ce71cfd

View file

@ -556,7 +556,6 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
if(scenario != NULL) {
// Update the label
std::string oldlabel = gamestate.classification().label;
if (gamestate.classification().abbrev.empty())
gamestate.classification().label = (*scenario)["name"].str();
else {