From af7d7eaaac879095aea33694b2e609f96101be89 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 9 Oct 2015 13:40:37 -0700 Subject: [PATCH] Make compiler happy --- src/MissionManager/MissionManager.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MissionManager/MissionManager.cc b/src/MissionManager/MissionManager.cc index 336a101d7..86d5f5ab3 100644 --- a/src/MissionManager/MissionManager.cc +++ b/src/MissionManager/MissionManager.cc @@ -507,5 +507,8 @@ QString MissionManager::_ackTypeToString(AckType_t ackType) return QString("MISSION_ITEM"); case AckMissionRequest: ///< MISSION_REQUEST is expected, or MISSION_ACK to end sequence return QString("MISSION_REQUEST"); - } + default: + qWarning(MissionManagerLog) << "Fell off end of switch statement"; + return QString("Internal Error"); + } } -- 2.22.0