From eb9c4050a2d8787fa2367047624ee9d1b16500aa Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 3 Jun 2014 11:55:42 +0200 Subject: [PATCH] media-ctl: Add fall through comment to fix Coverity warning The -f case falls through the -V case during option parsing. This is desired but result in a missing break statement warning from Coverity. Fix it by adding a fall through comment. Reported-by: Coverity Scan Signed-off-by: Laurent Pinchart --- utils/media-ctl/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/media-ctl/options.c b/utils/media-ctl/options.c index 90d9316..fc49323 100644 --- a/utils/media-ctl/options.c +++ b/utils/media-ctl/options.c @@ -122,6 +122,7 @@ int parse_cmdline(int argc, char **argv) case 'f': fprintf(stderr, "Warning: the -f option is deprecated " "and has been replaced by -V.\n"); + /* fall through */ case 'V': media_opts.formats = optarg; break; -- 2.7.4