From: dbv Date: Fri, 11 Sep 2015 13:06:49 +0000 (+0300) Subject: Warnings fixes X-Git-Tag: V_1.4.0_beta4~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5371d89d684526a3f646906f4a35b3a68622ed76;p=modules%2Fshaper.git Warnings fixes --- diff --git a/src/GeomAPI/GeomAPI_Circ.cpp b/src/GeomAPI/GeomAPI_Circ.cpp index 56a7b6d02..dca089797 100644 --- a/src/GeomAPI/GeomAPI_Circ.cpp +++ b/src/GeomAPI/GeomAPI_Circ.cpp @@ -90,5 +90,5 @@ const bool GeomAPI_Circ::parameter(const std::shared_ptr thePoint, double& theParameter) const { Handle(Geom_Circle) aCurve = new Geom_Circle(*MY_CIRC); - return GeomLib_Tool::Parameter(aCurve, thePoint->impl(), theTolerance, theParameter); + return GeomLib_Tool::Parameter(aCurve, thePoint->impl(), theTolerance, theParameter) == Standard_True; } diff --git a/src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.cpp b/src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.cpp index 53e5411e6..9e076e6f9 100644 --- a/src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.cpp +++ b/src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.cpp @@ -74,6 +74,8 @@ bool GeomAPI_DataMapOfShapeMapOfShapes::find(const std::shared_ptrsetImpl(new TopoDS_Shape(anIt.Value())); theItems.push_back(aShape); } + + return true; } //=================================================================================================