From d91be7b091bf8ee188a7a6a0434dfc7cd547e145 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Sat, 7 Dec 2019 12:58:07 +0100 Subject: [PATCH] core: fix compilation warnings --- include/hpp/fcl/BV/BV.h | 2 +- include/hpp/fcl/BV/RSS.h | 2 +- include/hpp/fcl/internal/tools.h | 3 ++- src/distance_func_matrix.h | 3 ++- src/traits_traversal.h | 3 ++- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/hpp/fcl/BV/BV.h b/include/hpp/fcl/BV/BV.h index 238ec16b..ba042f40 100644 --- a/include/hpp/fcl/BV/BV.h +++ b/include/hpp/fcl/BV/BV.h @@ -62,7 +62,7 @@ template<typename BV1, typename BV2> class Converter { private: - static void convert(const BV1& bv1, const Transform3f& tf1, BV2& bv2) + static void convert(const BV1& /*bv1*/, const Transform3f& /*tf1*/, BV2& /*bv2*/) { // should only use the specialized version, so it is private. } diff --git a/include/hpp/fcl/BV/RSS.h b/include/hpp/fcl/BV/RSS.h index f702d4e8..5105445c 100644 --- a/include/hpp/fcl/BV/RSS.h +++ b/include/hpp/fcl/BV/RSS.h @@ -163,4 +163,4 @@ bool overlap(const Matrix3f& R0, const Vec3f& T0, const RSS& b1, const RSS& b2, } // namespace hpp -#endif \ No newline at end of file +#endif diff --git a/include/hpp/fcl/internal/tools.h b/include/hpp/fcl/internal/tools.h index 8ad8a7ab..e8c89a1d 100644 --- a/include/hpp/fcl/internal/tools.h +++ b/include/hpp/fcl/internal/tools.h @@ -206,4 +206,5 @@ bool isEqual(const Eigen::MatrixBase<Derived>& lhs, const Eigen::MatrixBase<Othe } } // namespace hpp -#endif \ No newline at end of file +#endif + diff --git a/src/distance_func_matrix.h b/src/distance_func_matrix.h index 3a142614..62101180 100644 --- a/src/distance_func_matrix.h +++ b/src/distance_func_matrix.h @@ -65,4 +65,5 @@ namespace fcl /// @endcond -#endif \ No newline at end of file +#endif + diff --git a/src/traits_traversal.h b/src/traits_traversal.h index c296ac8f..d52005ab 100644 --- a/src/traits_traversal.h +++ b/src/traits_traversal.h @@ -102,4 +102,5 @@ struct TraversalTraitsDistance <BVHModel<T_BVH>, OcTree> } -} //hpp \ No newline at end of file +} //hpp + -- GitLab