PianoRoll: removed unused variable

Removed unused variable volumeHandles in
PianoRoll::computeSelectedNotes(bool) which as a side-effect also fixes

/usr/include/qt4/QtCore/qvector.h: In member function ‘void PianoRoll::computeSelectedNotes(bool)’:
/usr/include/qt4/QtCore/qvector.h:421: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/qt4/QtCore/qvector.h:114: note: initialized from here
This commit is contained in:
Tobias Doerffel
2009-05-16 15:14:47 +02:00
parent 9dcb62c630
commit 24353ca248

View File

@@ -1775,8 +1775,6 @@ void pianoRoll::computeSelectedNotes(bool shift)
{
const noteVector & notes = m_pattern->notes();
QPolygon volumeHandles;
for( noteVector::const_iterator it = notes.begin();
it != notes.end(); ++it )
{