fixed warnings

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1894 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Andrew Kelley
2008-12-08 21:56:11 +00:00
parent 112c0315ee
commit 74cc16151d

View File

@@ -1459,11 +1459,6 @@ void pianoRoll::computeSelectedNotes(bool shift)
Sint32 pos_ticks = ( *it )->pos();
int note_width = len_ticks * m_ppt /
midiTime::ticksPerTact();
const int x = ( pos_ticks - m_currentPosition ) *
m_ppt / midiTime::ticksPerTact();
// if the selection even barely overlaps the note
if( key > sel_key_start &&
key <= sel_key_end &&