mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
MSVC: Slience external/meaningless warnings
This commit is contained in:
@@ -54,6 +54,10 @@
|
||||
using namespace cv;
|
||||
using namespace cv::cuda;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable : 4702) // unreachable code
|
||||
#endif
|
||||
|
||||
namespace
|
||||
{
|
||||
#ifndef HAVE_OPENGL
|
||||
|
||||
Reference in New Issue
Block a user