summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-26 19:13:35 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-26 19:13:35 +0100
commit72b72371d9dbfc96bb7d2fa5b687205a08dddccc (patch)
tree21c311d0c504880767260f3cb488d845afe70589 /src/subtitle_asset.cc
parentee7187c25d83a47a106493e66b89888eca6d4344 (diff)
Fix a warning and add a missing include.
Diffstat (limited to 'src/subtitle_asset.cc')
-rw-r--r--src/subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc
index 9f1aa9d9..15ddb2a8 100644
--- a/src/subtitle_asset.cc
+++ b/src/subtitle_asset.cc
@@ -401,7 +401,7 @@ SubtitleAsset::write_xml ()
/* XXX: script, underlined, weight not supported */
bool first = true;
- bool italic;
+ bool italic = false;
Color color;
int size = 0;
Effect effect = NONE;