1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed an unused variable in the VST3 wrapper

This commit is contained in:
ed 2019-03-07 11:41:59 +00:00
parent db23cedf94
commit 4c19b9fac5

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