Commit 4e2af7ba authored by Don Gagne's avatar Don Gagne

Fix warning

parent b434b4a4
...@@ -96,8 +96,9 @@ QString PX4TuningComponent::prerequisiteSetup(void) const ...@@ -96,8 +96,9 @@ QString PX4TuningComponent::prerequisiteSetup(void) const
if (!plugin->airframeComponent()->setupComplete()) { if (!plugin->airframeComponent()->setupComplete()) {
return plugin->airframeComponent()->name(); return plugin->airframeComponent()->name();
} }
} else {
qWarning() << "Internal error: plugin cast failed";
} }
qWarning() << "Internal error: plugin cast failed";
return QString(); return QString();
} }
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