MSVC: Fix compiler warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user