diff --git a/libsrc/meshing/meshfunc.cpp b/libsrc/meshing/meshfunc.cpp index c1a23880..656f6ed8 100644 --- a/libsrc/meshing/meshfunc.cpp +++ b/libsrc/meshing/meshfunc.cpp @@ -662,7 +662,7 @@ namespace netgen bool do_split = mp.optimize3d.find('d') != string::npos; bool do_swap = mp.optimize3d.find('s') != string::npos; bool do_swap2 = mp.optimize3d.find('t') != string::npos; - for(auto i : Range(mp.optsteps3d)) + for([[maybe_unused]] auto i : Range(mp.optsteps3d)) { auto [total_badness, max_badness, bad_els] = optmesh.UpdateBadness(); if(bad_els==0) break; diff --git a/libsrc/occ/occ_utils.cpp b/libsrc/occ/occ_utils.cpp index 0b97f6e7..243349fc 100644 --- a/libsrc/occ/occ_utils.cpp +++ b/libsrc/occ/occ_utils.cpp @@ -61,7 +61,7 @@ namespace netgen Standard_Integer BuildTriangulation( const TopoDS_Shape & shape ) { BRepTools::Clean (shape); - double deflection = 0.01; + // double deflection = 0.01; // https://dev.opencascade.org/doc/overview/html/occt_user_guides__mesh.html // from Standard_Boolean meshing_imeshtools_parameters() diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 967bbba9..e2c819d1 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -1262,7 +1262,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) }) .def("_webgui_data", [](const TopoDS_Shape & shape) { - auto status = BuildTriangulation(shape); + [[maybe_unused]] auto status = BuildTriangulation(shape); // cout << "status = " << aStatus << endl; std::vector p[3]; diff --git a/libsrc/visualization/mvdraw.hpp b/libsrc/visualization/mvdraw.hpp index 687c7750..c1cf63f8 100644 --- a/libsrc/visualization/mvdraw.hpp +++ b/libsrc/visualization/mvdraw.hpp @@ -145,16 +145,16 @@ namespace netgen int filledtimestamp = -1; int linetimestamp = -1; int edgetimestamp = -1; - int pointnumbertimestamp = -1; + // int pointnumbertimestamp = -1; int tettimestamp = -1; int prismtimestamp = -1; int pyramidtimestamp = -1; int hextimestamp = -1; - int badeltimestamp = -1; - int identifiedtimestamp = -1; - int domainsurftimestamp = -1; + // int badeltimestamp = -1; + // int identifiedtimestamp = -1; + // int domainsurftimestamp = -1; struct { unsigned texture = -1;