Mod: Fix several compiler warnings

This commit is contained in:
wmayer
2024-05-29 13:59:41 +02:00
committed by wwmayer
parent 19dae94f01
commit ffad1e0c34
6 changed files with 17 additions and 15 deletions

View File

@@ -689,6 +689,7 @@ void TopoShape::copyElementMap(const TopoShape& topoShape, const char* op)
setMappedChildElements(children);
}
#ifndef FC_USE_TNP_FIX
namespace
{
void warnIfLogging()
@@ -722,7 +723,7 @@ void checkAndMatchHasher(TopoShape& topoShape1, const TopoShape& topoShape2)
}
}
} // namespace
#endif
// TODO: Refactor mapSubElementTypeForShape to reduce complexity
void TopoShape::mapSubElementTypeForShape(const TopoShape& other,
@@ -4454,7 +4455,7 @@ TopoShape& TopoShape::makeElementRevolve(const TopoShape& _base,
TopoShape& TopoShape::makeElementRevolution(const TopoShape& _base,
const gp_Ax1& axis,
double d,
[[maybe_unused]]double d,
const TopoDS_Face& supportface,
const TopoDS_Face& uptoface,
const char* face_maker,