Fixed warnings

This commit is contained in:
Twan van Laarhoven
2020-05-12 17:49:42 +02:00
parent e6af772ebd
commit e7d0a2106d
4 changed files with 8 additions and 8 deletions
-1
View File
@@ -353,7 +353,6 @@ void update_size(LineLayout& layout, TextViewer::Line const& l) {
TextLayoutP TextViewer::extractLayoutInfo() const {
// store information about the content/layout
TextLayoutP layout = make_intrusive<TextLayout>();
LineBreak last_break = BREAK_LINE;
LineLayoutP paragraph, block;
for (auto const& l : lines) {
LineLayoutP line = make_intrusive<LineLayout>(l.width(), l.top, l.line_height, LineLayout::Type::LINE);