Remove a variable which is only assigned.
Issue found by cppcheck.
This commit is contained in:
parent
ed837d5f98
commit
5ecb56df56
1 changed files with 0 additions and 1 deletions
|
@ -525,7 +525,6 @@ bool game_controller::play_multiplayer_mode()
|
|||
side = &faction;
|
||||
}
|
||||
if ((*side)["random_faction"].to_bool()) {
|
||||
std::string side_name = (type == side_types.end() ? "default" : type->second);
|
||||
std::cerr << "Could not find any non-random faction for side " << side_num << "\n";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue