core: fix MSVS "unreachable code" warnings

This commit is contained in:
Alexander Alekhin
2018-08-27 16:15:51 +03:00
parent 9fb8f6347f
commit acfdd0e1fc
3 changed files with 7 additions and 19 deletions
+3
View File
@@ -325,6 +325,9 @@ public:
};
#ifdef _MSC_VER
#pragma warning(disable: 4702) // unreachable code
#endif
MotionInpainter::MotionInpainter()
{
#ifdef HAVE_OPENCV_CUDAOPTFLOW