mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Fixed a compiler warning
This commit is contained in:
parent
0db9415de6
commit
98483e826a
1 changed files with 4 additions and 4 deletions
|
|
@ -1351,11 +1351,11 @@ public:
|
|||
{
|
||||
if (pluginInstance->getBypassParameter() == nullptr)
|
||||
{
|
||||
auto privateData = ValueTree::readFromData (data, static_cast<size_t> (sizeInBytes));
|
||||
auto isBypassed = static_cast<bool> (privateData.getProperty ("Bypass", var (false)));
|
||||
|
||||
if (auto* bypassParam = comPluginInstance->getBypassParameter())
|
||||
setBypassed (isBypassed ? 1.0f : 0.0f);
|
||||
{
|
||||
auto privateData = ValueTree::readFromData (data, static_cast<size_t> (sizeInBytes));
|
||||
setBypassed (static_cast<bool> (privateData.getProperty ("Bypass", var (false))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue