mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
flashtool: Fix compile error due to missing statement after default label
In flashtool_main.c, the 'default:' label in a switch statement was followed directly by '}', which is invalid in C. This commit adds a 'break;' statement after the default label to resolve the error. Signed-off-by: tuansuper <tunainnet@tutanota.com>
This commit is contained in:
parent
2631d3e59a
commit
5f286fc924
1 changed files with 1 additions and 0 deletions
|
|
@ -365,6 +365,7 @@ int main(int argc, FAR char *argv[])
|
|||
ret = check_bad_block(fd, &geo);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
oops:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue