Browse Source

Fix compiler warnings

QGC4.4
Don Gagne 10 years ago
parent
commit
f067bcc541
  1. 6
      src/AutoPilotPlugins/AutoPilotPlugin.cc

6
src/AutoPilotPlugins/AutoPilotPlugin.cc

@ -42,6 +42,9 @@ bool AutoPilotPlugin::factExists(FactSystem::Provider_t provider, int componentI @@ -42,6 +42,9 @@ bool AutoPilotPlugin::factExists(FactSystem::Provider_t provider, int componentI
// Other providers will go here once they come online
}
Q_ASSERT(false);
return false;
}
Fact* AutoPilotPlugin::getFact(FactSystem::Provider_t provider, int componentId, const QString& name)
@ -52,4 +55,7 @@ Fact* AutoPilotPlugin::getFact(FactSystem::Provider_t provider, int componentId, @@ -52,4 +55,7 @@ Fact* AutoPilotPlugin::getFact(FactSystem::Provider_t provider, int componentId,
// Other providers will go here once they come online
}
Q_ASSERT(false);
return false;
}

Loading…
Cancel
Save