diff --git a/Geo/GPoint.h b/Geo/GPoint.h
index e0d06f8cc347c0eac67d37cd71039c936eb08f09..633580589bef6378c372b3dc6fe0fcba93a8cc50 100644
--- a/Geo/GPoint.h
+++ b/Geo/GPoint.h
@@ -10,11 +10,11 @@
 
 class GEntity;
 
-class GPoint 
+class GPoint
 {
  private:
   double X, Y, Z;
-  const GEntity *e;  
+  const GEntity *e;
   double par[2];
   bool success;
  public:
@@ -54,6 +54,7 @@ class GPoint
   }
   bool setNoSuccess (){
     success = false;
+    return success;
   }
 };