From f067bcc541ed312751e1732150b4c129e9026b14 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 29 Mar 2015 11:01:32 -0700 Subject: [PATCH] Fix compiler warnings --- src/AutoPilotPlugins/AutoPilotPlugin.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/AutoPilotPlugins/AutoPilotPlugin.cc b/src/AutoPilotPlugins/AutoPilotPlugin.cc index b97266c53..16af9e400 100644 --- a/src/AutoPilotPlugins/AutoPilotPlugin.cc +++ b/src/AutoPilotPlugins/AutoPilotPlugin.cc @@ -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, // Other providers will go here once they come online } + + Q_ASSERT(false); + return false; } -- 2.22.0