From a301d1c298250ecb9ca3d376cdc812729797908b Mon Sep 17 00:00:00 2001 From: Ginkgo Date: Mon, 14 Aug 2023 20:58:35 +0800 Subject: [PATCH] fix ipp_warpAffine return value error --- modules/imgproc/src/imgwarp.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 {