From 4ba87671c2f000a9924efb460fe02c9466922aee Mon Sep 17 00:00:00 2001 From: vlazzarini Date: Thu, 1 Feb 2018 08:41:04 +0000 Subject: [PATCH] fixed warning fluidsynth module create --- Opcodes/fluidOpcodes/fluidOpcodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Opcodes/fluidOpcodes/fluidOpcodes.cpp b/Opcodes/fluidOpcodes/fluidOpcodes.cpp index 38b835de616..9cebed580ee 100644 --- a/Opcodes/fluidOpcodes/fluidOpcodes.cpp +++ b/Opcodes/fluidOpcodes/fluidOpcodes.cpp @@ -759,7 +759,7 @@ PUBLIC int csoundModuleCreate(CSOUND *csound) result = csound::CreateGlobalPointer(csound, "fluid_synths", fluid_synths); void *fluid_synths_mutex = csound->Create_Mutex(0); result = csound::CreateGlobalPointer(csound, "fluid_synths_mutex", fluid_synths_mutex); - return 0; + return result; } PUBLIC int csoundModuleInit(CSOUND *csound)