projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b5628
)
tools: dumpimage: Fall-though to print usage for help command
author
Andrew F. Davis
<afd@ti.com>
Tue, 17 Sep 2019 21:09:35 +0000
(17:09 -0400)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/tools/dumpimage.c
b/tools/dumpimage.c
index d5f893daf1694b49d48e17b22a9e3f8ffd7c6fbc..e5481435a7644add00810f7d6a7548762d2cb79a 100644
(file)
--- a/
tools/dumpimage.c
+++ b/
tools/dumpimage.c
@@
-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;