Skip to content

Commit

Permalink
fixup remove unused_varaible
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jul 9, 2014
1 parent 459630a commit 1bb866e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/teambuilder.hpp
Expand Up @@ -40,8 +40,7 @@ class team_builder {
team_builder(const config& side_cfg,
const std::string &save_id, std::vector<team>& teams,
const config& level, gamemap& map, unit_map& units,
game_data & gamedata,
const config &starting_pos)
game_data & gamedata)
: gold_info_ngold_(0)
, leader_configs_()
, level_(level)
Expand All @@ -51,7 +50,6 @@ class team_builder {
, seen_ids_()
, side_(0)
, side_cfg_(side_cfg)
, starting_pos_(starting_pos)
, t_(NULL)
, teams_(teams)
, unit_configs_()
Expand Down Expand Up @@ -107,7 +105,6 @@ class team_builder {
std::set<std::string> seen_ids_;
int side_;
const config &side_cfg_;
const config &starting_pos_;
team *t_;
std::vector<team> &teams_;
std::vector<const config*> unit_configs_;
Expand Down

0 comments on commit 1bb866e

Please sign in to comment.