From 3603904a031ae3960d3b430aecfd110ad6205d41 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 28 Apr 2014 16:56:06 +0000
Subject: [PATCH] fix error msg

---
 Geo/Geo.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp
index 37305236b8..d24fa1a701 100644
--- a/Geo/Geo.cpp
+++ b/Geo/Geo.cpp
@@ -3501,7 +3501,7 @@ int Extrude_ProtudeSurface(int type, int is,
     break;
   default:
     Msg::Error("Unknown extrusion type");
-    return ps->Num;
+    break;
   }
 
   // this is done only for backward compatibility with the old
@@ -3532,7 +3532,6 @@ int Extrude_ProtudeSurface(int type, int is,
 
   List_Reset(ListOfTransformedPoints);
 
-
   return chap_num;
 }
 
-- 
GitLab