Warning fix;
authorPavel Vlasov <pavel.vlasov@intel.com>
Wed, 24 Jun 2015 11:34:20 +0000 (14:34 +0300)
committerPavel Vlasov <pavel.vlasov@intel.com>
Wed, 24 Jun 2015 11:43:42 +0000 (14:43 +0300)
modules/core/src/convert.cpp
modules/core/src/copy.cpp

index 7e561b6..fd07a7f 100644 (file)
@@ -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)
index 27e8c00..0d483ed 100644 (file)
@@ -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);