From 1dba0d4830786ba17966a8d1397f07557e95bfd5 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 31 Dec 2015 18:36:34 +0100 Subject: add comment FALLTHROUGH which recognize by many lint tools --- cli-runopts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cli-runopts.c') 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); -- cgit v1.2.3