From 171faae67079d0416e3f6676a992ff3b076e73ec Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Thu, 19 Oct 2017 23:24:18 +0200 Subject: [PATCH] Prevent unused variable warnings if LADSPA is not compiled in --- src/synth/fluid_synth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/synth/fluid_synth.c b/src/synth/fluid_synth.c index 8525689f..329bfe9a 100644 --- a/src/synth/fluid_synth.c +++ b/src/synth/fluid_synth.c @@ -555,7 +555,9 @@ new_fluid_synth(fluid_settings_t *settings) fluid_sfloader_t* loader; double gain; int i, nbuf; +#ifdef LADSPA int with_ladspa = 0; +#endif /* initialize all the conversion tables and other stuff */ if (fluid_synth_initialized == 0)