Duplicate check of identical expression

• Dec 19, 2020 - 11:17
Type
Development
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

src/importexport/internal/midiimport/importmidi_voice.cpp line 63:
code;
for (int i = 0; i != (int)notes.size() - 1; ++i) {
if (notes[i].offTime > notes[i].offTime) // <-- identical (probably i + 1 meant)
{
return false;
}
}
return true;


Comments

Fix version
3.6.0