From aa33bd23c0e54fb9d60c1a5b6aa5004919fa81bd Mon Sep 17 00:00:00 2001 From: derselbst Date: Wed, 25 Oct 2017 16:51:29 +0200 Subject: [PATCH] avoid mixed declarations --- src/drivers/fluid_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/fluid_alsa.c b/src/drivers/fluid_alsa.c index 99eebc8a..ad85e68c 100644 --- a/src/drivers/fluid_alsa.c +++ b/src/drivers/fluid_alsa.c @@ -805,6 +805,7 @@ new_fluid_alsa_seq_driver(fluid_settings_t* settings, handle_midi_event_func_t handler, void* data) { int i, err; + int autoconn_inputs = 0; fluid_alsa_seq_driver_t* dev; int realtime_prio = 0; int count; @@ -936,7 +937,6 @@ new_fluid_alsa_seq_driver(fluid_settings_t* settings, dev->port_info = port_info; - int autoconn_inputs = 0; fluid_settings_getint(settings, "audio.alsa.autoconnect", &autoconn_inputs); if (autoconn_inputs) autoconnect_inputs(dev);