commit | 643a46c0b5b4dcf35fa764391c10ad50e1de82bc | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Thu Jun 29 11:56:09 2023 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Thu Jun 29 11:56:09 2023 +0200 |
tree | c854be55a2c9984f77c0dd795af5e528b7b33c93 | |
parent | 81b12f08bd791d1d55f6194efbf0c8104124971b [diff] |
tools/idevicedebug: Add missing default case for switch statement
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index fbb6c3e..36c594e 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c
@@ -291,6 +291,11 @@ res = 0; goto cleanup; break; + default: + print_usage(argc, argv, 1); + res = 2; + goto cleanup; + break; } } argc -= optind;