From 26a1ef30c87c19ca05eb51595e933319dfe46c03 Mon Sep 17 00:00:00 2001 From: kirilllapi <51754531+kirilllapi@users.noreply.github.com> Date: Thu, 30 Apr 2026 04:22:29 +0300 Subject: [PATCH] Refactor code: lsd.cpp --- modules/imgproc/src/lsd.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/imgproc/src/lsd.cpp b/modules/imgproc/src/lsd.cpp index 1694bfbefb..45e569c1d8 100644 --- a/modules/imgproc/src/lsd.cpp +++ b/modules/imgproc/src/lsd.cpp @@ -977,7 +977,6 @@ double LineSegmentDetectorImpl::rect_nfa(const rect& rec) const double top_y = ordered_y[0].y, bottom_y = ordered_y[2].y; // Loop around all points in the region and count those that are aligned. - std::vector points; double left_limit, right_limit; for(int y = (int) ceil(top_y); y <= (int) ceil(bottom_y); ++y) {