diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index e5d9b0defb..bbeb8223f1 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -2679,8 +2679,13 @@ static bool ipp_warpAffine( InputArray _src, OutputArray _dst, int interpolation } return true; +#else + CV_UNUSED(_src); CV_UNUSED(_dst); CV_UNUSED(interpolation); + CV_UNUSED(borderType); CV_UNUSED(_M); CV_UNUSED(flags); + return false; #endif } + #endif namespace hal {