Commit 285c33d6 authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE #455] we do not need to fetch the pointer again

parent 215409be
......@@ -251,7 +251,7 @@ void WMFiberDisplay::inputUpdated()
m_dataset = m_fiberInput->getData();
// ensure the data is valid (not NULL)
if ( !m_fiberInput->getData().get() ) // ok, the output has been reset, so we can ignore the "data change"
if ( !m_dataset ) // ok, the output has been reset, so we can ignore the "data change"
{
m_noData.set( true );
debugLog() << "Data reset on " << m_fiberInput->getCanonicalName() << ". Ignoring.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment