Browse Source

Fixed an unused variable in the VST3 wrapper

tags/2021-05-28
ed 6 years ago
parent
commit
4c19b9fac5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 1
- 1
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -1537,7 +1537,7 @@ public:
{
if (pluginInstance->getBypassParameter() == nullptr)
{
if (auto* bypassParam = comPluginInstance->getBypassParameter())
if (comPluginInstance->getBypassParameter() != nullptr)
{
auto privateData = ValueTree::readFromData (data, static_cast<size_t> (sizeInBytes));
setBypassed (static_cast<bool> (privateData.getProperty ("Bypass", var (false))));


Loading…
Cancel
Save