diff options
author | David Robillard <d@drobilla.net> | 2015-10-05 17:59:04 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-05 18:02:12 -0400 |
commit | 291c7351eb669f3b63322d0c3567c69b0f545fe2 (patch) | |
tree | 82b0b397abeac8eff1d55ab6acdc20a7291f5a63 | |
parent | eb7c23b37535c822ac2687cb22f67a334a7c251e (diff) | |
download | lv2-291c7351eb669f3b63322d0c3567c69b0f545fe2.tar.xz |
Fix warning
-rw-r--r-- | plugins/eg-fifths.lv2/fifths.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/eg-fifths.lv2/fifths.c b/plugins/eg-fifths.lv2/fifths.c index cc61cc9..9345399 100644 --- a/plugins/eg-fifths.lv2/fifths.c +++ b/plugins/eg-fifths.lv2/fifths.c @@ -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; |