From facc494577a8de9b816d7884a442e942dd08665f Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Tue, 27 Mar 2018 18:15:40 +0200
Subject: [PATCH] Fix compilation warnings

---
 src/manipulation-planner.cc | 9 ---------
 src/symbolic-planner.cc     | 9 ---------
 2 files changed, 18 deletions(-)

diff --git a/src/manipulation-planner.cc b/src/manipulation-planner.cc
index 150195bb..b358538e 100644
--- a/src/manipulation-planner.cc
+++ b/src/manipulation-planner.cc
@@ -59,15 +59,6 @@ namespace hpp {
       HPP_DEFINE_TIMECOUNTER(buildPath);
       HPP_DEFINE_TIMECOUNTER(projectPath);
       HPP_DEFINE_TIMECOUNTER(validatePath);
-
-      bool belongs (const ConfigurationPtr_t& q, const core::Nodes_t& nodes)
-      {
-        for (core::Nodes_t::const_iterator itNode = nodes.begin ();
-            itNode != nodes.end (); ++itNode) {
-          if (*((*itNode)->configuration ()) == *q) return true;
-        }
-        return false;
-      }
     }
 
     const std::vector<ManipulationPlanner::Reason>
diff --git a/src/symbolic-planner.cc b/src/symbolic-planner.cc
index fc20f772..9b9d2689 100644
--- a/src/symbolic-planner.cc
+++ b/src/symbolic-planner.cc
@@ -109,15 +109,6 @@ namespace hpp {
           }
         }
       };
-
-      bool belongs (const ConfigurationPtr_t& q, const core::Nodes_t& nodes)
-      {
-        for (core::Nodes_t::const_iterator itNode = nodes.begin ();
-            itNode != nodes.end (); ++itNode) {
-          if (*((*itNode)->configuration ()) == *q) return true;
-        }
-        return false;
-      }
     }
 
     const std::vector<SymbolicPlanner::Reason>
-- 
GitLab