From da9119e57528b9084e16ec352f3cc432d87d27c2 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 17 May 2017 15:00:00 +0200
Subject: [PATCH] fixup: remove 'else' since it is not needed.

---
 MeshGeoToolsLib/CreateSearchLength.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/MeshGeoToolsLib/CreateSearchLength.h b/MeshGeoToolsLib/CreateSearchLength.h
index f7dfcff4935..cf974de42c3 100644
--- a/MeshGeoToolsLib/CreateSearchLength.h
+++ b/MeshGeoToolsLib/CreateSearchLength.h
@@ -41,10 +41,7 @@ MeshGeoToolsLib::SearchLength createSearchLengthAlgorithm(
     {
         return MeshGeoToolsLib::HeuristicSearchLength(mesh);
     }
-    else
-    {
-        OGS_FATAL("Unknown search length algorithm type '%s'.", type.c_str());
-    }
+    OGS_FATAL("Unknown search length algorithm type '%s'.", type.c_str());
 }
 
 }  // end namespace MeshGeoToolsLib
-- 
GitLab