From 2acb06807540ad54311ff55d5057675e67188555 Mon Sep 17 00:00:00 2001 From: derselbst Date: Tue, 19 Apr 2022 22:15:03 +0200 Subject: [PATCH] Fix C90 build --- src/synth/fluid_event.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/synth/fluid_event.c b/src/synth/fluid_event.c index ff8d9f79..48b781bd 100644 --- a/src/synth/fluid_event.c +++ b/src/synth/fluid_event.c @@ -582,7 +582,7 @@ fluid_event_system_reset(fluid_event_t *evt) * Transforms an incoming MIDI event (from a MIDI driver or MIDI router) to a * sequencer event. * - * @param evt returned sequencer event + * @param evt Sequencer event structure * @param event MIDI event * @return #FLUID_OK or #FLUID_FAILED * @@ -606,9 +606,10 @@ fluid_event_system_reset(fluid_event_t *evt) */ int fluid_event_from_midi_event(fluid_event_t *evt, const fluid_midi_event_t *event) { + int chan; fluid_return_val_if_fail(event != NULL, FLUID_FAILED); - int chan = fluid_midi_event_get_channel(event); + chan = fluid_midi_event_get_channel(event); switch (fluid_midi_event_get_type(event)) {