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

@@ -194,7 +194,6 @@ App::DocumentObjectExecReturn* Revolution::execute()
if (!Ex.More()) {
supportface = TopoDS_Face();
}
RevolMode mode = RevolMode::None;
#ifdef FC_USE_TNP_FIX
// revolve the face to a solid
// TopoShape result(0);
@@ -205,6 +204,7 @@ App::DocumentObjectExecReturn* Revolution::execute()
return new App::DocumentObjectExecReturn("Could not revolve the sketch!");
}
#else
RevolMode mode = RevolMode::None;
generateRevolution(result,
base.getShape(),
sketchshape.getShape(),