summaryrefslogtreecommitdiff
path: root/src/lib/text_subtitle_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-09 22:53:28 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-09 22:53:28 +0100
commite8381aef2057a72270da9dc3d40e935ac56024b0 (patch)
treea7b6697c464bbfd355360e15a04c7926c895ab99 /src/lib/text_subtitle_decoder.cc
parenta4738a0bf2b0b3a4c70e4893ca5654102d436cad (diff)
Remove unused code.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
-rw-r--r--src/lib/text_subtitle_decoder.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc
index 6099cf3ee..ecca5188b 100644
--- a/src/lib/text_subtitle_decoder.cc
+++ b/src/lib/text_subtitle_decoder.cc
@@ -76,14 +76,6 @@ TextSubtitleDecoder::pass (PassReason, bool)
}
}
- /* Highest line index in this subtitle */
- int highest = 0;
- BOOST_FOREACH (sub::Line i, _subtitles[_next].lines) {
- DCPOMATIC_ASSERT (i.vertical_position.reference && i.vertical_position.reference.get() == sub::TOP_OF_SUBTITLE);
- DCPOMATIC_ASSERT (i.vertical_position.line);
- highest = max (highest, i.vertical_position.line.get());
- }
-
BOOST_FOREACH (sub::Line i, _subtitles[_next].lines) {
BOOST_FOREACH (sub::Block j, i.blocks) {