[SCM] OCE packaging branch, debian, updated. debian/0.11-1

tpaviot tpaviot at gmail.com
Thu Dec 13 19:16:21 UTC 2012


The following commit has been merged in the debian branch:
commit 49c797f493adac587c0ad15ecde5d92e895d31eb
Author: tpaviot <tpaviot at gmail.com>
Date:   Sun Jun 3 17:27:16 2012 +0200

    bugxix : unused value
    
    clang reports a unused value (Standard_False). Related line certainly
    misses a return statement.

diff --git a/src/ShapeFix/ShapeFix_Face.cxx b/src/ShapeFix/ShapeFix_Face.cxx
index 8027e7a..440b575 100644
--- a/src/ShapeFix/ShapeFix_Face.cxx
+++ b/src/ShapeFix/ShapeFix_Face.cxx
@@ -2269,7 +2269,7 @@ static Standard_Boolean IsPeriodicConicalLoop(const Handle(Geom_ConicalSurface)&
                                               Standard_Boolean& isUDecrease)
 {
   if ( theSurf.IsNull() )
-    Standard_False;
+    return Standard_False;
 
   ShapeAnalysis_Edge aSAE;
   TopLoc_Location aLoc;

-- 
OCE packaging



More information about the debian-science-commits mailing list