Merge pull request #1037 from Jojo-Schmitz/warnings

fix warning reg. unused variable
This commit is contained in:
Nicolas Froment 2014-07-15 16:50:50 +02:00
commit 15f899f7bd

View file

@ -583,7 +583,6 @@ Score::FileError Score::read114(XmlReader& e)
qreal yo = 0;
if (s->type() == Element::Type::OTTAVA) {
// fix ottava position
Ottava* ottava = static_cast<Ottava*>(s);
yo = styleS(StyleIdx::ottavaY).val() * spatium();
if (s->placement() == Element::Placement::BELOW)
yo = -yo + s->staff()->height();