mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-19 12:16:16 -04:00
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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user