From 892ea69b35aac258d8c1cc249eeabc6289bdbb7d Mon Sep 17 00:00:00 2001 From: Sven Oesau Date: Wed, 18 Jan 2023 14:41:55 +0100 Subject: [PATCH] removed unused variables removed warnings --- Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h | 4 ++-- .../include/CGAL/KSR_3/Data_structure.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h b/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h index 60dd451e4f8..0a72526ec98 100644 --- a/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h +++ b/Kinetic_shape_reconstruction/include/CGAL/KSR/debug.h @@ -742,7 +742,7 @@ void dump_visi( polygon.push_back(data.point_3(pvertex)); } - colors.push_back(Color((1 - color) * low[0] + color * high[0], (1 - color) * low[1] + color * high[1], (1 - color) * low[2] + color * high[2], ((color > 0.5) ? 150 : 25))); + colors.push_back(Color(static_cast((1 - color) * low[0] + color * high[0]), static_cast((1 - color) * low[1] + color * high[1]), static_cast((1 - color) * low[2] + color * high[2]), ((color > 0.5) ? 150 : 25))); CGAL_assertion(polygon.size() >= 3); polygons.push_back(polygon); @@ -981,7 +981,7 @@ void dump(const InputRange input_range, PointMap point_map, NormalMap normal_map for (std::size_t r = 0; r < regions.size(); r++) { for (std::size_t i = 0; i < regions[r].size(); i++) { CGAL_assertion(regions[r][i] < input_range.size()); - region_index[regions[r][i]] = r; + region_index[regions[r][i]] = static_cast(r); } } diff --git a/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Data_structure.h b/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Data_structure.h index d9a7c42754a..721d1a7a82f 100644 --- a/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Data_structure.h +++ b/Kinetic_shape_reconstruction/include/CGAL/KSR_3/Data_structure.h @@ -226,8 +226,6 @@ private: From_EK from_EK; const Parameters& m_parameters; - FT m_previous_time; - FT m_current_time; Kinetic_traits m_kinetic_traits; std::vector m_volumes;