1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +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
+2
View File
@@ -84,7 +84,9 @@ size_t base64_encode(uint8_t const * src, uint8_t * dst, size_t off, size_t cnt)
switch (rst)
{
case 1U: *dst_cur++ = base64_padding;
/* fallthrough */
case 2U: *dst_cur++ = base64_padding;
/* fallthrough */
default: *dst_cur = 0;
break;
}