From 6e6c0f31f741037dcaef960187e290e1f222f59b Mon Sep 17 00:00:00 2001 From: 103yiran <1039105206@qq.com> Date: Fri, 2 Apr 2021 10:30:27 +0800 Subject: [PATCH] delete unused variable --- modules/imgproc/src/imgwarp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index 298f9b3b5b..c4dfd13a93 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -2190,7 +2190,7 @@ public: int bw = std::min( bw0, dst.cols - x); int bh = std::min( bh0, range.end - y); - Mat _XY(bh, bw, CV_16SC2, XY), matA; + Mat _XY(bh, bw, CV_16SC2, XY); Mat dpart(dst, Rect(x, y, bw, bh)); for( y1 = 0; y1 < bh; y1++ ) @@ -2979,7 +2979,7 @@ public: int bw = std::min( bw0, width - x); int bh = std::min( bh0, range.end - y); // height - Mat _XY(bh, bw, CV_16SC2, XY), matA; + Mat _XY(bh, bw, CV_16SC2, XY); Mat dpart(dst, Rect(x, y, bw, bh)); for( y1 = 0; y1 < bh; y1++ )