Remove a variable which is only assigned.
Issue found by cppcheck.
This commit is contained in:
parent
5ecb56df56
commit
dcc86d0a29
1 changed files with 0 additions and 1 deletions
|
@ -787,7 +787,6 @@ WML_HANDLER_FUNCTION(modify_side, /*event_info*/, cfg)
|
|||
{
|
||||
std::vector<team> &teams = *resources::teams;
|
||||
|
||||
std::string name = cfg["name"];
|
||||
std::string team_name = cfg["team_name"];
|
||||
std::string user_team_name = cfg["user_team_name"];
|
||||
std::string controller = cfg["controller"];
|
||||
|
|
Loading…
Add table
Reference in a new issue