summaryrefslogtreecommitdiff
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
parentee7187c25d83a47a106493e66b89888eca6d4344 (diff)
Fix a warning and add a missing include.
-rw-r--r--src/asset.h1
-rw-r--r--src/subtitle_asset.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/asset.h b/src/asset.h
index c40ec91b..492f16be 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -25,6 +25,7 @@
#define LIBDCP_ASSET_H
#include <string>
+#include <list>
#include <boost/filesystem.hpp>
#include "types.h"
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;