]> granicus.if.org Git - graphviz/commitdiff
Remove 1 -Wunused-function warning in nearest_neighbor_graph_ann.cpp
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 7 Nov 2020 15:15:14 +0000 (16:15 +0100)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 21 Nov 2020 08:17:09 +0000 (09:17 +0100)
lib/mingle/nearest_neighbor_graph_ann.cpp

index 27f54ef015713786f4757f0df66ef2a25c94124e..7661a5eb408bd7298dc8b41444e822b00fe5ac38 100644 (file)
@@ -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 */