From 9ead7b59f5dc4cd77bee9f042e05e0ca7e29b3ab Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 16 Nov 2023 07:26:44 +0000 Subject: [PATCH] Address unused variable warnings --- Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp | 3 +++ Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp index 27a258882ba..fd99361c290 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp @@ -68,6 +68,7 @@ #endif #include +#include #include #include @@ -92,6 +93,8 @@ load_vtk_file(QFileInfo fileinfo, Image* image) *image = CGAL::IO::read_vtk_image_data(vtk_image); // copy the image data return true; #else + CGAL_USE(fileinfo); + CGAL_USE(image); return false; #endif } diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp index f490c0da691..86bade9004e 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin.cpp @@ -50,9 +50,6 @@ auto make_not_null(T&& t) { using namespace CGAL::Three; -// Constants -const QColor default_mesh_color(45,169,70); - #include "Mesh_3_plugin_cgal_code.h" // declare functions `cgal_code_mesh_3` #include "split_polylines.h" #include