diff options
author | 2023-06-29 11:56:09 +0200 | |
---|---|---|
committer | 2023-06-29 11:56:09 +0200 | |
commit | 643a46c0b5b4dcf35fa764391c10ad50e1de82bc (patch) | |
tree | c854be55a2c9984f77c0dd795af5e528b7b33c93 /tools/idevicedebug.c | |
parent | 81b12f08bd791d1d55f6194efbf0c8104124971b (diff) | |
download | libimobiledevice-643a46c0b5b4dcf35fa764391c10ad50e1de82bc.tar.gz libimobiledevice-643a46c0b5b4dcf35fa764391c10ad50e1de82bc.tar.bz2 |
tools/idevicedebug: Add missing default case for switch statement
Diffstat (limited to 'tools/idevicedebug.c')
-rw-r--r-- | tools/idevicedebug.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ int main(int argc, char *argv[]) | |||
291 | res = 0; | 291 | res = 0; |
292 | goto cleanup; | 292 | goto cleanup; |
293 | break; | 293 | break; |
294 | default: | ||
295 | print_usage(argc, argv, 1); | ||
296 | res = 2; | ||
297 | goto cleanup; | ||
298 | break; | ||
294 | } | 299 | } |
295 | } | 300 | } |
296 | argc -= optind; | 301 | argc -= optind; |