tools: dumpimage: Fall-though to print usage for help command
authorAndrew F. Davis <afd@ti.com>
Tue, 17 Sep 2019 21:09:35 +0000 (17:09 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:47 +0000 (11:12 -0500)
This has the same result but some compilers will warn about this
fall-through if there are statements as part of the label block.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
tools/dumpimage.c

index d5f893d..e548143 100644 (file)
@@ -104,7 +104,6 @@ int main(int argc, char **argv)
                        printf("dumpimage version %s\n", PLAIN_VERSION);
                        exit(EXIT_SUCCESS);
                case 'h':
-                       usage();
                default:
                        usage();
                        break;