Remove a variable which is only assigned.

Issue found by cppcheck.
This commit is contained in:
Mark de Wever 2011-07-31 16:56:41 +00:00
parent ed837d5f98
commit 5ecb56df56

View file

@ -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;
}