From e57609836ce9e9d82f838eca4ff3bbd7ffce2433 Mon Sep 17 00:00:00 2001 From: Pavel Vlasov Date: Wed, 24 Jun 2015 14:34:20 +0300 Subject: [PATCH] Warning fix; --- modules/core/src/convert.cpp | 1 - modules/core/src/copy.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/core/src/convert.cpp b/modules/core/src/convert.cpp index 7e561b6e7..fd07a7fc5 100644 --- a/modules/core/src/convert.cpp +++ b/modules/core/src/convert.cpp @@ -5841,7 +5841,6 @@ private: static bool ipp_lut(Mat &src, Mat &lut, Mat &dst) { - int cn = src.channels(); int lutcn = lut.channels(); if(src.dims > 2) diff --git a/modules/core/src/copy.cpp b/modules/core/src/copy.cpp index 27e8c00d5..0d483ede1 100644 --- a/modules/core/src/copy.cpp +++ b/modules/core/src/copy.cpp @@ -691,7 +691,6 @@ static bool ocl_flip(InputArray _src, OutputArray _dst, int flipCode ) #if defined HAVE_IPP static bool ipp_flip( Mat &src, Mat &dst, int flip_mode ) { - Size size = src.size(); int type = src.type(); typedef IppStatus (CV_STDCALL * ippiMirror)(const void * pSrc, int srcStep, void * pDst, int dstStep, IppiSize roiSize, IppiAxis flip);