Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
drobilla committed Oct 5, 2015
1 parent eb7c23b commit 291c735
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/eg-fifths.lv2/fifths.c
Expand Up @@ -137,8 +137,7 @@ run(LV2_Handle instance,
lv2_atom_sequence_append_event(
self->out_port, out_capacity, ev);

const uint8_t note = msg[1];
if (note <= 127 - 7) {
if (msg[1] <= 127 - 7) {
// Make a note one 5th (7 semitones) higher than input
MIDINoteEvent fifth;

Expand Down

0 comments on commit 291c735

Please sign in to comment.