summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2015-12-31 18:36:34 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commit1dba0d4830786ba17966a8d1397f07557e95bfd5 (patch)
tree7cf0491bdccd20164e1e3339048e264c7084bf57 /cli-runopts.c
parentda85400e57f2d1af6506fcd263941cd9a1ae3163 (diff)
add comment FALLTHROUGH which recognize by many lint tools
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 8d1edee..7c3a50c 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -315,6 +315,7 @@ void cli_getopts(int argc, char ** argv) {
break;
case 'b':
next = &dummy;
+ /* FALLTHROUGH */
default:
fprintf(stderr,
"WARNING: Ignoring unknown option -%c\n", c);