1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

build: enable -Wimplicit-fallthrough warning for OpenCV modules

This commit is contained in:
Alexander Alekhin
2018-04-19 19:54:03 +03:00
parent 647eb243ae
commit 12e8e33144
17 changed files with 30 additions and 8 deletions
+1
View File
@@ -103,6 +103,7 @@ PARAM_TEST_CASE(CvtColor, MatDepth, bool)
{
case COLOR_RGB2HLS: case COLOR_BGR2HLS:
h_limit = 180;
/* fallthrough */
case COLOR_RGB2HLS_FULL: case COLOR_BGR2HLS_FULL:
{
ASSERT_EQ(dst_roi.type(), udst_roi.type());