From dd53a2ca03995702c5687d4d3bd2f61389e87ef3 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Thu, 29 Feb 2024 12:10:24 -0800 Subject: [PATCH] Remove unused variable from AKAZE.cpp As in title --- opensfm/src/third_party/akaze/lib/AKAZE.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opensfm/src/third_party/akaze/lib/AKAZE.cpp b/opensfm/src/third_party/akaze/lib/AKAZE.cpp index 5d42f251d..e49b6f1c2 100644 --- a/opensfm/src/third_party/akaze/lib/AKAZE.cpp +++ b/opensfm/src/third_party/akaze/lib/AKAZE.cpp @@ -269,7 +269,7 @@ void AKAZE::Find_Scale_Space_Extrema(std::vector& kpts) { double t1 = 0.0, t2 = 0.0; float value = 0.0; float dist = 0.0, ratio = 0.0, smax = 0.0; - int npoints = 0, id_repeated = 0; + int id_repeated = 0; int sigma_size_ = 0, left_x = 0, right_x = 0, up_y = 0, down_y = 0; bool is_extremum = false, is_repeated = false, is_out = false; cv::KeyPoint point; @@ -357,7 +357,6 @@ void AKAZE::Find_Scale_Space_Extrema(std::vector& kpts) { point.pt.x *= ratio; point.pt.y *= ratio; kpts_aux.push_back(point); - npoints++; } else { point.pt.x *= ratio;