From 89cbe3c7df34f7a98828c56d2f6d1dea2a1d5d07 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 20 Jul 2023 10:54:37 +0200 Subject: [PATCH] should fix macos compilation error introduced by 8543db11b59f34ca120a1e6eea7f5b43adee8dac --- client/src/cmdhflist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 64f885713..5d8a9d343 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -1399,7 +1399,7 @@ void annotateMfPlus(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) { } break; - default: + default: { // Messages for commands that do not need args are treated here const char *annotation = mfpGetAnnotationForCode(cmd[pos]) ; if (annotation != NULL) { @@ -1408,6 +1408,7 @@ void annotateMfPlus(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) { found_annotation = false; } break; + } } if (found_annotation) { break;