build: eliminate warning
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 27 Jun 2017 05:16:40 +0000 (08:16 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 27 Jun 2017 05:16:40 +0000 (08:16 +0300)
modules/core/src/trace.cpp

index ff6f9c0..6a71161 100644 (file)
@@ -56,6 +56,10 @@ namespace details {
 
 #ifdef OPENCV_TRACE
 
+#ifdef _MSC_VER
+#pragma warning(disable:4065) // switch statement contains 'default' but no 'case' labels
+#endif
+
 static int64 g_zero_timestamp = 0;
 
 static int64 getTimestamp()