From e0f8c814c16cd112ff190652f8c7c476414d2c76 Mon Sep 17 00:00:00 2001
From: remicres <remi.cresson@teledetection.fr>
Date: Wed, 31 Aug 2016 13:03:26 +0000
Subject: [PATCH] WARN: remove unused variables in functions prototypes

---
 include/lsgrmGraphOperations.h   | 4 ----
 include/lsgrmGraphOperations.txx | 6 +-----
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/include/lsgrmGraphOperations.h b/include/lsgrmGraphOperations.h
index 00b1b57..71485c1 100644
--- a/include/lsgrmGraphOperations.h
+++ b/include/lsgrmGraphOperations.h
@@ -73,10 +73,6 @@ long long unsigned int RunPartialSegmentation(
 template<class TSegmenter>
 void RemoveUselessNodes(ProcessingTile& tile,
     typename TSegmenter::GraphType& graph,
-    const unsigned int rowTile,
-    const unsigned int colTile,
-    const unsigned int nbTilesX,
-    const unsigned int nbTilesY,
     const unsigned int imageWidth,
     const unsigned int numberOfLayers);
 
diff --git a/include/lsgrmGraphOperations.txx b/include/lsgrmGraphOperations.txx
index d0c7d27..63a884d 100644
--- a/include/lsgrmGraphOperations.txx
+++ b/include/lsgrmGraphOperations.txx
@@ -153,7 +153,7 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
 
           std::cout << "\tRemove useless.." << std::endl;
           RemoveUselessNodes<TSegmenter>(currentTile, segmenter.m_Graph,
-              row, col, nbTilesX, nbTilesY, imageWidth, numberOfNeighborLayers);
+              imageWidth, numberOfNeighborLayers);
 
         }
 
@@ -231,10 +231,6 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
 template<class TSegmenter>
 void RemoveUselessNodes(ProcessingTile& tile,
     typename TSegmenter::GraphType& graph,
-    const unsigned int rowTile,
-    const unsigned int colTile,
-    const unsigned int nbTilesX,
-    const unsigned int nbTilesY,
     const unsigned int imageWidth,
     const unsigned int numberOfLayers)
 {
-- 
GitLab