diff --git a/examples/audio plugin host/Source/FilterGraph.cpp b/examples/audio plugin host/Source/FilterGraph.cpp index 3ad3b6fc01..1f6c2f32e8 100644 --- a/examples/audio plugin host/Source/FilterGraph.cpp +++ b/examples/audio plugin host/Source/FilterGraph.cpp @@ -354,8 +354,7 @@ void FilterGraph::createNodeFromXml (const XmlElement& xml) if (node->properties[getOpenProp (type)]) { - AudioProcessor* const processor = node->getProcessor(); - jassert (processor != nullptr); + jassert (node->getProcessor() != nullptr); if (PluginWindow* const w = PluginWindow::getWindowFor (node, type)) w->toFront (true);