From d6e0ef2710071f93953837ec44a21d81218ee88a Mon Sep 17 00:00:00 2001 From: perping Date: Tue, 12 Nov 2013 18:13:44 +0800 Subject: [PATCH] fix linux warning. --- modules/ocl/src/haar.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/ocl/src/haar.cpp b/modules/ocl/src/haar.cpp index db3dd46e8f..bd5a8d1e8d 100644 --- a/modules/ocl/src/haar.cpp +++ b/modules/ocl/src/haar.cpp @@ -1276,7 +1276,6 @@ void cv::ocl::OclCascadeClassifierBuf::detectMultiScale(oclMat &gimg, CV_OUT std if( (flags & CV_HAAR_SCALE_IMAGE) ) { int indexy = 0; - int sdepth = 0; CvSize sz; cv::Rect roi, roi2;