MSVC: Fix warnings and build failure
This commit is contained in:
@@ -125,6 +125,7 @@
|
||||
#include <GCPnts_AbscissaPoint.hxx>
|
||||
#include <GProp_GProps.hxx>
|
||||
#include <GeomAPI_IntCS.hxx>
|
||||
#include <GeomAPI_ProjectPointOnCurve.hxx>
|
||||
#include <GeomAPI_ProjectPointOnSurf.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <Geom_BSplineSurface.hxx>
|
||||
|
||||
@@ -523,7 +523,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
|
||||
try {
|
||||
boolOp.makeElementBoolean(maker, {base,result});
|
||||
}
|
||||
catch(Standard_Failure &e) {
|
||||
catch(Standard_Failure&) {
|
||||
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Failed to perform boolean operation"));
|
||||
}
|
||||
boolOp = this->getSolid(boolOp);
|
||||
|
||||
@@ -126,7 +126,7 @@ App::DocumentObjectExecReturn* FeaturePrimitive::execute(const TopoDS_Shape& pri
|
||||
try {
|
||||
boolOp.makeElementBoolean(maker, {base, primitiveShape});
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
catch (Standard_Failure&) {
|
||||
return new App::DocumentObjectExecReturn(
|
||||
QT_TRANSLATE_NOOP("Exception", "Failed to perform boolean operation"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user