Skip to content

Commit

Permalink
Initialize all members
Browse files Browse the repository at this point in the history
Found by coverity.
  • Loading branch information
AI0867 committed Mar 23, 2014
1 parent 4e514f2 commit ae34792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unit_types.cpp
Expand Up @@ -359,6 +359,7 @@ unit_type::unit_type(const unit_type& o) :
hp_bar_scaling_(o.hp_bar_scaling_),
xp_bar_scaling_(o.xp_bar_scaling_),
level_(o.level_),
recall_cost_(o.recall_cost_),
movement_(o.movement_),
vision_(o.vision_),
jamming_(o.jamming_),
Expand Down

0 comments on commit ae34792

Please sign in to comment.