From 83ba03a7dedd7e051c0dd48eb51cb605fa15f9eb Mon Sep 17 00:00:00 2001 From: Aga Janowicz Date: Mon, 19 Dec 2022 16:58:07 +0000 Subject: [PATCH] VST: Fix some unused variable warnings on iOS/Android --- .../juce_audio_processors/format_types/juce_VSTPluginFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index a8dc35d490..1f38a2a9ee 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -3440,7 +3440,7 @@ AudioProcessorEditor* VSTPluginInstance::createEditor() #endif } -bool VSTPluginInstance::updateSizeFromEditor (int w, int h) +bool VSTPluginInstance::updateSizeFromEditor ([[maybe_unused]] int w, [[maybe_unused]] int h) { #if ! JUCE_IOS && ! JUCE_ANDROID if (auto* editor = dynamic_cast (getActiveEditor()))