From 650830b9d66680d8ae2115ef40d4f5ffa7a3c0a2 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 27 Jun 2017 08:16:40 +0300 Subject: [PATCH] build: eliminate warning --- modules/core/src/trace.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/src/trace.cpp b/modules/core/src/trace.cpp index ff6f9c0170..6a71161455 100644 --- a/modules/core/src/trace.cpp +++ b/modules/core/src/trace.cpp @@ -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()