diff --git a/Tools/Replay/MsgHandler.h b/Tools/Replay/MsgHandler.h index 9bad348671..f0f149b90b 100644 --- a/Tools/Replay/MsgHandler.h +++ b/Tools/Replay/MsgHandler.h @@ -85,7 +85,7 @@ protected: const char *label_roll, const char *label_pitch, const char *label_yaw); - void field_not_found(uint8_t *msg, const char *label); + [[noreturn]] void field_not_found(uint8_t *msg, const char *label); }; template