Skip to content

Commit

Permalink
Break out the loop in explicit way.
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviliz committed May 28, 2024
1 parent 4d2acbe commit 5575528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/essentia/essentiamath.h
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ inline int note2midi(std::string note) {
if (idx >= CIdx) {
idx = idx - nNotes;
}
i = nNotes;
break;
}
}
int midiNote = noteIdx + 69 + idx;
Expand Down

0 comments on commit 5575528

Please sign in to comment.