1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Fixed an unused variable warning in the VST3 wrapper

This commit is contained in:
ed 2019-03-04 14:06:37 +00:00 committed by Tom Poole
parent d11ef30e09
commit cc2a7094e8

View file

@ -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);