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
(cherry picked from commit 24353ca248)
This commit is contained in:
Tobias Doerffel
2009-05-16 15:14:47 +02:00
parent 1c38473255
commit 5cd54b3f20

View File

@@ -1767,8 +1767,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 )
{