projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4738a0
)
Remove unused code.
author
Carl Hetherington
<cth@carlh.net>
Thu, 9 Jun 2016 21:53:28 +0000
(22:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 9 Jun 2016 21:53:28 +0000
(22:53 +0100)
src/lib/text_subtitle_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/text_subtitle_decoder.cc
b/src/lib/text_subtitle_decoder.cc
index 6099cf3eef80ddc617843fa263d9e8a620f8d689..ecca5188be349441a1ddb0e09c9ebcd426993384 100644
(file)
--- 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) {