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;