projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f2e61
)
firmware-utils: trx: fix compiler warnings/errors
author
Petr Štetiar
<ynezz@true.cz>
Sat, 20 Jul 2019 12:14:33 +0000
(14:14 +0200)
committer
Petr Štetiar
<ynezz@true.cz>
Tue, 23 Jul 2019 20:07:23 +0000
(22:07 +0200)
trx.c:137:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
tools/firmware-utils/src/trx.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/trx.c
b/tools/firmware-utils/src/trx.c
index dc5bb672aeba3ff0b108da9f1db7cbed8f2dac6b..1d221301443ec48e10fbe8982f986bfc4f9da593 100644
(file)
--- a/
tools/firmware-utils/src/trx.c
+++ b/
tools/firmware-utils/src/trx.c
@@
-135,6
+135,7
@@
int main(int argc, char **argv)
break;
case 'F':
fsmark = cur_len;
+ /* fall through */
case 'A':
append = 1;
/* fall through */