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:
tuansuper 2026-07-30 23:22:42 +08:00 committed by Alan C. Assis
parent 2631d3e59a
commit 5f286fc924

View file

@ -365,6 +365,7 @@ int main(int argc, FAR char *argv[])
ret = check_bad_block(fd, &geo);
break;
default:
break;
}
oops: