diff --git a/src/Gui/NavigationStyle.cpp b/src/Gui/NavigationStyle.cpp index 44bd5858a2..633b1c64c6 100644 --- a/src/Gui/NavigationStyle.cpp +++ b/src/Gui/NavigationStyle.cpp @@ -62,7 +62,7 @@ public: FreeTurntable }; - static constexpr float defaultSphereRadius = 0.8; + static constexpr float defaultSphereRadius = 0.8F; FCSphereSheetProjector(const SbSphere & sph, const SbBool orienttoeye = true) : SbSphereSheetProjector(sph, orienttoeye) diff --git a/src/Mod/PartDesign/App/FeatureExtrude.cpp b/src/Mod/PartDesign/App/FeatureExtrude.cpp index 9b3f9c6acf..97f3ae3fec 100644 --- a/src/Mod/PartDesign/App/FeatureExtrude.cpp +++ b/src/Mod/PartDesign/App/FeatureExtrude.cpp @@ -691,7 +691,7 @@ App::DocumentObjectExecReturn* FeatureExtrude::buildExtrusion(ExtrudeOptions opt TopoShape::PrismMode::None, true /*CheckUpToFaceLimits.getValue()*/); } - catch (Base::Exception& e) { + catch (Base::Exception&) { if (method == "UpToShape" && faceCount > 1){ return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP( "Exception", diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 0eaf99b327..eb346a7187 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -265,7 +265,7 @@ App::DocumentObjectExecReturn* SketchObject::execute() rebuildExternalGeometry(); Constraints.acceptGeometry(getCompleteGeometry()); } - catch (const Base::Exception& e) { + catch (const Base::Exception&) { // 9/16/24: We used to clear the constraints here, but we no longer want to do that // as missing reference geometry is not considered an error while we sort out sketcher UI. // Base::Console().Error("%s\nClear constraints to external geometry\n", e.what());