From e8ac3ea9ea5c500f8228dcf26cb997950ed83249 Mon Sep 17 00:00:00 2001 From: Thomas Peters Date: Mon, 7 Jan 2019 16:15:48 -0500 Subject: [PATCH] fix implicit fallthrough warning. --- 3rdparty/carotene/src/resize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/carotene/src/resize.cpp b/3rdparty/carotene/src/resize.cpp index 6e96b4053a..49205573cd 100644 --- a/3rdparty/carotene/src/resize.cpp +++ b/3rdparty/carotene/src/resize.cpp @@ -109,6 +109,7 @@ bool isResizeLinearOpenCVSupported(const Size2D &ssize, const Size2D &dsize, u32 && dsize.width >= 2 && dsize.height >= 8 && (2*dsize.width != ssize.width || 2*dsize.height != ssize.height)) // 2x downscaling is performed as area in OpenCV which differs from this implementation return isSupportedConfiguration(); + return false; default: return false; };