From 62e8066d648af99867a99dfdab2b8e7769ebeb6d Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Wed, 3 Jul 2019 16:29:44 +0200
Subject: [PATCH] Logically dead code removal

---
 DDCore/src/plugins/ShapePlugins.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/DDCore/src/plugins/ShapePlugins.cpp b/DDCore/src/plugins/ShapePlugins.cpp
index 8f9d14759..5410e1300 100644
--- a/DDCore/src/plugins/ShapePlugins.cpp
+++ b/DDCore/src/plugins/ShapePlugins.cpp
@@ -581,8 +581,7 @@ static Ref_t create_shape(Detector& description, xml_h e, Ref_t /* sens */)  {
     }
     else   {
       printout(INFO,"TestShape","Correct shape type: %s <-> %s Instance test: %s",
-               shape.typeStr().c_str(), solid->GetTitle(),
-               instance_test ? "OK" : "FAILED");
+               shape.typeStr().c_str(), solid->GetTitle(), "OK");
     }
   }
   pv = description.worldVolume().placeVolume(assembly);
-- 
GitLab