Address unused variable warnings

This commit is contained in:
Andreas Fabri 2023-11-16 07:26:44 +00:00
parent 3c07d9a591
commit 9ead7b59f5
2 changed files with 3 additions and 3 deletions

View File

@ -68,6 +68,7 @@
#endif #endif
#include <CGAL/Three/Three.h> #include <CGAL/Three/Three.h>
#include <CGAL/use.h>
#include <boost/type_traits.hpp> #include <boost/type_traits.hpp>
#include <optional> #include <optional>
@ -92,6 +93,8 @@ load_vtk_file(QFileInfo fileinfo, Image* image)
*image = CGAL::IO::read_vtk_image_data(vtk_image); // copy the image data *image = CGAL::IO::read_vtk_image_data(vtk_image); // copy the image data
return true; return true;
#else #else
CGAL_USE(fileinfo);
CGAL_USE(image);
return false; return false;
#endif #endif
} }

View File

@ -50,9 +50,6 @@ auto make_not_null(T&& t) {
using namespace CGAL::Three; 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 "Mesh_3_plugin_cgal_code.h" // declare functions `cgal_code_mesh_3`
#include "split_polylines.h" #include "split_polylines.h"
#include <CGAL/Mesh_facet_topology.h> #include <CGAL/Mesh_facet_topology.h>