From f1a2845d0105a336d938bb8c8d2fdec66cec6727 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson <Magnus.Jacobsson@berotec.se> Date: Sat, 7 Nov 2020 16:15:14 +0100 Subject: [PATCH] Remove 1 -Wunused-function warning in nearest_neighbor_graph_ann.cpp --- lib/mingle/nearest_neighbor_graph_ann.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mingle/nearest_neighbor_graph_ann.cpp b/lib/mingle/nearest_neighbor_graph_ann.cpp index 27f54ef01..7661a5eb4 100644 --- a/lib/mingle/nearest_neighbor_graph_ann.cpp +++ b/lib/mingle/nearest_neighbor_graph_ann.cpp @@ -25,6 +25,7 @@ using namespace std; // make std:: accessible int dim = 4; // dimension +/* static void printPt(ostream &out, ANNpoint p) // print point { out << "" << p[0]; @@ -33,6 +34,7 @@ static void printPt(ostream &out, ANNpoint p) // print point } out << ""; } +*/ static void sortPtsX(int n, ANNpointArray pts){ /* sort so that edges always go from left to right in x-doordinate */ -- 2.40.0