From 643a46c0b5b4dcf35fa764391c10ad50e1de82bc Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 29 Jun 2023 11:56:09 +0200 Subject: tools/idevicedebug: Add missing default case for switch statement --- tools/idevicedebug.c | 5 +++++ 1 file changed, 5 insertions(+) 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[]) res = 0; goto cleanup; break; + default: + print_usage(argc, argv, 1); + res = 2; + goto cleanup; + break; } } argc -= optind; -- cgit v1.1-32-gdbae