aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2020-05-09 17:10:41 +0200
committerTom Rini2020-05-15 14:47:35 -0400
commita29162a11c341f5fa8fc177e22f23898fc96689b (patch)
tree80cc14959625ab62a88dd1b9ac5f25800095963f
parent542809620e62a3fc2f93c230440c6d105e59b32e (diff)
tools: mkimage: use /* fallthrough */ as needed
GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled. Let's use it consistently. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 336376f8d0a..d2cd1917874 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -211,7 +211,7 @@ static void process_args(int argc, char **argv)
case 'f':
datafile = optarg;
params.auto_its = !strcmp(datafile, "auto");
- /* no break */
+ /* fallthrough */
case 'F':
/*
* The flattened image tree (FIT) format