diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index a042508c2a..619284f393 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -475,6 +475,7 @@ static int control(stream_t *stream, int cmd, void *arg) break; if (dvdnav_angle_change(dvdnav, new_angle) != DVDNAV_STATUS_OK) return 1; + break; } case STREAM_CTRL_GET_LANG: { struct stream_lang_req *req = arg; diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py index c9b11f5f6d..6946710900 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -41,7 +41,9 @@ def __add_generic_flags__(ctx): "-Werror=format-security", "-Wno-redundant-decls", "-Wvla", - "-Wno-format-truncation"]) + "-Wno-format-truncation", + "-Wimplicit-fallthrough", + ]) def __add_gcc_flags__(ctx): ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow",