Remove unused variables.
This commit is contained in:
Jean-Marc Lasgouttes 2018-05-28 18:02:54 +02:00
parent a8fd12d18c
commit 5c3900344a

View File

@ -1095,8 +1095,6 @@ void TextMetrics::setRowHeight(Row & row) const
int maxdes = int(fm.maxDescent() * spacing_val); int maxdes = int(fm.maxDescent() * spacing_val);
// Find the ascent/descent of the row contents // Find the ascent/descent of the row contents
Row::const_iterator cit = row.begin();
Row::const_iterator cend = row.end();
for (Row::Element const & e : row) { for (Row::Element const & e : row) {
if (e.inset) { if (e.inset) {
maxasc = max(maxasc, e.dim.ascent()); maxasc = max(maxasc, e.dim.ascent());