From 814fdf6723e0c52ee69af75a55d97a2ae9b9e17e Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Thu, 23 Sep 2021 14:14:42 +0000 Subject: [PATCH] [StatesPathFinder] Fix compilation warning. --- src/path-planner/states-path-finder.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/path-planner/states-path-finder.cc b/src/path-planner/states-path-finder.cc index 1cb04b6..4a807c5 100644 --- a/src/path-planner/states-path-finder.cc +++ b/src/path-planner/states-path-finder.cc @@ -69,8 +69,13 @@ namespace hpp { using graph::LockedJoints_t; using graph::segments_t; - static void displayRoadmap(const core::RoadmapPtr_t& roadmap) + static void displayRoadmap(const core::RoadmapPtr_t& +#ifdef HPP_DEBUG + roadmap +#endif + ) { +#ifdef HPP_DEBUG unsigned i=0; for (auto cc : roadmap->connectedComponents()){ hppDout(info, " CC " << i); ++i; @@ -78,6 +83,7 @@ namespace hpp { hppDout(info, pinocchio::displayConfig(*(n->configuration()))); } } +#endif } StatesPathFinder::StatesPathFinder(const core::ProblemConstPtr_t& problem, -- GitLab