Remove a variable which is only assigned.
Issue found by cppcheck.
This commit is contained in:
parent
dcc86d0a29
commit
287ce71cfd
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue