diff --git a/modules/imgproc/src/deriv.cpp b/modules/imgproc/src/deriv.cpp index e338e72d9..f232eb5d9 100644 --- a/modules/imgproc/src/deriv.cpp +++ b/modules/imgproc/src/deriv.cpp @@ -193,7 +193,8 @@ namespace cv static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double scale, double delta, int borderType) { #if defined(HAVE_IPP_ICV_ONLY) - return false; + _src; _dst; ddepth; dx; dy; scale; delta; borderType; + return false; #else if ((0 > dx) || (0 > dy) || (1 != dx + dy)) return false;