Remove unused code.
authorCarl Hetherington <cth@carlh.net>
Thu, 9 Jun 2016 21:53:28 +0000 (22:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 9 Jun 2016 21:53:28 +0000 (22:53 +0100)
src/lib/text_subtitle_decoder.cc

index 6099cf3eef80ddc617843fa263d9e8a620f8d689..ecca5188be349441a1ddb0e09c9ebcd426993384 100644 (file)
@@ -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) {