Author: mordante
Date: Sun Jul 20 13:33:27 2008
New Revision: 28101
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28101&view=rev
Log:
Initialize all members.
Modified:
trunk/src/map_label.cpp
Modified: trunk/src/map_label.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/map_label.cpp?rev=28101&r1=28100&r2=28101&view=diff
==============================================================================
--- trunk/src/map_label.cpp (original)
+++ trunk/src/map_label.cpp Sun Jul 20 13:33:27 2008
@@ -40,7 +40,9 @@
const team* team) :
disp_(disp),
team_(team),
- map_(map)
+ map_(map),
+ labels_(),
+ label_cache_()
{
}
@@ -51,7 +53,9 @@
const variable_set *variables) :
disp_(disp),
team_(team),
- map_(map)
+ map_(map),
+ labels_(),
+ label_cache_()
{
read(cfg, variables);
}
@@ -332,7 +336,11 @@
const config& cfg,
const variable_set *variables) :
handle_(0),
- parent_(&parent)
+ text_(),
+ team_name_(),
+ colour_(),
+ parent_(&parent),
+ loc_()
{
read(cfg, variables);
check_text_length();
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits