From cb1a15698719a09f0b23a981e6be7addc4630e66 Mon Sep 17 00:00:00 2001 From: muramura Date: Sat, 21 Sep 2024 00:34:25 +0900 Subject: [PATCH] Replay: Declare the type of the loop variable and consolidate the processing --- Tools/Replay/MsgHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/Replay/MsgHandler.cpp b/Tools/Replay/MsgHandler.cpp index b52450f558080..9732d04dde54a 100644 --- a/Tools/Replay/MsgHandler.cpp +++ b/Tools/Replay/MsgHandler.cpp @@ -128,8 +128,7 @@ bool MsgHandler::field_value(uint8_t *msg, const char *label, char *ret, uint8_t bool MsgHandler::field_value(uint8_t *msg, const char *label, Vector3f &ret) { const char *axes = "XYZ"; - uint8_t i; - for(i=0; i