From 48cb77c7f4ab2f00a5c9a386c38d773248ff2a19 Mon Sep 17 00:00:00 2001 From: Frank Hoffmann Date: Mon, 19 Feb 2024 22:45:47 +0900 Subject: [PATCH] issue227: release build fix (#228) --- src/wrapasauv2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapasauv2.cpp b/src/wrapasauv2.cpp index a5f0d961..f5fb8512 100644 --- a/src/wrapasauv2.cpp +++ b/src/wrapasauv2.cpp @@ -952,7 +952,7 @@ OSStatus WrapAsAUV2::Render(AudioUnitRenderActionFlags& inFlags, const AudioTime auto userd = _midioutput_hostcallback.userData; auto pktlist = i->getMIDIPacketList(); auto fn = _midioutput_hostcallback.midiOutputCallback; - OSStatus result = (*fn)(userd, &inTimeStamp, i->_auport, pktlist); + [[maybe_unused]] OSStatus result = (*fn)(userd, &inTimeStamp, i->_auport, pktlist); assert(result == noErr); } }