From d2605264792f74cd187d27aee19eaa627dcc488d Mon Sep 17 00:00:00 2001 From: azv Date: Thu, 20 Dec 2018 08:27:46 +0300 Subject: [PATCH] Fix warning on inaccessible line of code --- src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp index 36111ca5a..cd05c49e8 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp @@ -142,8 +142,8 @@ void GeomAlgoAPI_ConeSegment::build() BRepPrimAPI_MakeRevol* aRevolBuilder = new BRepPrimAPI_MakeRevol(aFaceBuilder.Face(), aZAxis, myDeltaPhi * M_PI/180., Standard_True); if(!aRevolBuilder) { - return; myError = "Cone Segment builder :: section revolution did not succeed"; + return; } if(!aRevolBuilder->IsDone()) { myError = "Cone Segment builder :: section revolution did not succeed"; -- 2.39.2