From 1d3f5eec71a96c8b3b5e4220ef8776f8d1cd49fc Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Tue, 3 Nov 2020 22:07:04 +0100
Subject: [PATCH] no else after return

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

diff --git a/Sample/Interference/IInterferenceFunctionStrategy.cpp b/Sample/Interference/IInterferenceFunctionStrategy.cpp
index 89cc44c9af0..6e10637e49f 100644
--- a/Sample/Interference/IInterferenceFunctionStrategy.cpp
+++ b/Sample/Interference/IInterferenceFunctionStrategy.cpp
@@ -50,8 +50,7 @@ IInterferenceFunctionStrategy::evaluateSinglePoint(const SimulationElement& sim_
 {
     if (!m_polarized)
         return scalarCalculation(sim_element);
-    else
-        return polarizedCalculation(sim_element);
+    return polarizedCalculation(sim_element);
 }
 
 //! Performs a Monte Carlo integration over the bin for the evaluation of the intensity.
-- 
GitLab