From b0cbbb4bea1e4e37fd65f113a407c4c7ab32c966 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Mon, 9 Mar 2020 17:58:16 +0530 Subject: [PATCH] GCS_Common: fix unannotated fall-through between switch labels --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index ce54ee97f2..4edfe4c54b 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -3592,10 +3592,10 @@ MAV_RESULT GCS_MAVLINK::handle_command_preflight_can(const mavlink_command_long_ can_exists = true; result = ap_kdecan->run_enumeration(start_stop) && result; } - break; #else UNUSED_RESULT(start_stop); // prevent unused variable error #endif + break; } case AP_BoardConfig_CAN::Protocol_Type_PiccoloCAN: // TODO - Run PiccoloCAN pre-flight checks here