fix -Wunused

This commit is contained in:
wmayer
2018-07-28 12:56:31 +02:00
parent c2ab3f02cd
commit 61a6fbe6d2

View File

@@ -1648,6 +1648,7 @@ TopoDS_Shape TopoShape::section(TopoDS_Shape shape, Standard_Boolean approximate
Standard_Failure::Raise("Tool shape is null");
#if OCC_VERSION_HEX < 0x060900
BRepAlgoAPI_Section mkSection(this->_Shape, shape);
(void)approximate;
#else
BRepAlgoAPI_Section mkSection;
mkSection.Init1(this->_Shape);