From cc2a7094e81ca94bbb71539dba080087bfffd794 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 4 Mar 2019 14:06:37 +0000 Subject: [PATCH] Fixed an unused variable warning in the VST3 wrapper --- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 5f1a6b5754..742659faa9 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1338,6 +1338,7 @@ public: short configs[][2] = { JucePlugin_PreferredChannelConfigurations }; const int numConfigs = sizeof (configs) / sizeof (short[2]); + ignoreUnused (numConfigs); jassert (numConfigs > 0 && (configs[0][0] > 0 || configs[0][1] > 0)); pluginInstance->setPlayConfigDetails (configs[0][0], configs[0][1], 44100.0, 1024);