From fe4823681fb08a43e48f913f11edbb9195453025 Mon Sep 17 00:00:00 2001 From: Dirk Olbrich Date: Sun, 3 Sep 2023 14:01:33 +0200 Subject: [PATCH] ifcgeom: fix compiler warning -Wunused-but-set-variable --- src/ifcgeom/IfcGeom.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ifcgeom/IfcGeom.cpp b/src/ifcgeom/IfcGeom.cpp index d0b5ebd19f..e743461445 100644 --- a/src/ifcgeom/IfcGeom.cpp +++ b/src/ifcgeom/IfcGeom.cpp @@ -1084,11 +1084,9 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std TopExp_Explorer exp(axis_shape, TopAbs_EDGE); TopoDS_Edge axis_edge; - int edge_count = 0; if (exp.More()) { axis_edge = TopoDS::Edge(exp.Current()); - ++ edge_count; } else { Logger::Message(Logger::LOG_WARNING, "No edge found in axis representation:", product); return false;