v4l-utils: add missing fallthrough
PATCH 1/1 v4l-utils: add missing fallthrough
Found with -Wimplicit-fallthrough
Signed-off-by Rosen Penev <[email protected]>
--- utils/v4l2-ctl/v4l2-ctl-edid.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
utils/v4l2-ctl/v4l2-ctl-edid.cpp +2 -1
@@ -4,6 +4,7 @@ #include <linux/v4l2-subdev.h> +#include "compiler.h" #include "v4l2-ctl.h" /*
@@ -1301,7 +1302,7 @@ void edid_cmd(int ch, char *optarg) sedid.pad = strtoul(value, nullptr, 0); break; } - // fall through + fallthrough; default: edid_usage(); std::exit(EXIT_FAILURE);
Signature · 1 line
2.31.1