From e9b66bd166d33ade31b5b89179fbafa84bcf0541 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 6 Sep 2020 12:23:01 +0200 Subject: [PATCH] Revert "Add missing break in switch" and add comment that there should not be a break at this point. This reverts commit ee8d07d894fa10e47b4441a4db473496c701cb0f. --- hmland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmland.c b/hmland.c index 8651957..fd17e85 100644 --- a/hmland.c +++ b/hmland.c @@ -437,7 +437,7 @@ static int hmlan_parse_one(uint8_t *cmd, int last, void *data) parse_part_in(&inpos, (last-(inpos-cmd)), &outpos, (sizeof(out)-(outpos-out)), 0); parse_part_in(&inpos, (last-(inpos-cmd)), &outpos, (sizeof(out)-(outpos-out)), 0); parse_part_in(&inpos, (last-(inpos-cmd)), &outpos, (sizeof(out)-(outpos-out)), FLAG_LENGTH_BYTE); - break; + // Fallthrough to default expected, no break here default: parse_part_in(&inpos, (last-(inpos-cmd)), &outpos, (sizeof(out)-(outpos-out)), FLAG_IGNORE_COMMAS); break; -- 2.39.2