From 8524d4d815f54cddece60917b219fde2ec18567a Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Fri, 3 Mar 2023 13:41:06 +0000 Subject: [PATCH] Android: Fix a compiler warning --- modules/juce_audio_devices/native/juce_android_Oboe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_devices/native/juce_android_Oboe.cpp b/modules/juce_audio_devices/native/juce_android_Oboe.cpp index 3e3d2de973..95d00d3cb3 100644 --- a/modules/juce_audio_devices/native/juce_android_Oboe.cpp +++ b/modules/juce_audio_devices/native/juce_android_Oboe.cpp @@ -478,7 +478,7 @@ private: auto nextState = oboe::StreamState::Started; int64 timeoutNanos = 1000 * oboe::kNanosPerMillisecond; - auto startResult = stream->requestStart(); + [[maybe_unused]] auto startResult = stream->requestStart(); JUCE_OBOE_LOG ("Requested Oboe stream start with result: " + getOboeString (startResult)); startResult = stream->waitForStateChange (expectedState, &nextState, timeoutNanos);