projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f47f30
)
Revert "Add missing break in switch"
author
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Sep 2020 10:23:01 +0000
(12:23 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Sep 2020 10:23:53 +0000
(12:23 +0200)
and add comment that there should not be a break at this point.
This reverts commit
ee8d07d894fa10e47b4441a4db473496c701cb0f
.
hmland.c
patch
|
blob
|
blame
|
history
diff --git
a/hmland.c
b/hmland.c
index 86519578552d02236a0bcb802f3f6466f5b02425..fd17e85e0ab26ed20f92e224f68f6ab36ddc2955 100644
(file)
--- 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;
Impressum
,
Datenschutz