Add some break statements to silence compiler warnings

This commit is contained in:
Ian Barwick
2020-10-08 13:10:00 +09:00
parent e7acb6809b
commit 0fc8c6c79c
3 changed files with 7 additions and 2 deletions

View File

@@ -712,9 +712,12 @@ main(int argc, char **argv)
if (strcmp(argv[optind - 1], "-?") == 0)
{
help_option = true;
break;
}
/* otherwise fall through to default */
else
{
option_error_found = true;
}
break;
default: /* invalid option */
option_error_found = true;
break;