From 291c7351eb669f3b63322d0c3567c69b0f545fe2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 Oct 2015 17:59:04 -0400 Subject: Fix warning --- plugins/eg-fifths.lv2/fifths.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/eg-fifths.lv2/fifths.c') 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; -- cgit v1.2.1