diff --git a/Simulation/G4Atlas/G4AtlasTests/src/RPCHitsTestTool.cxx b/Simulation/G4Atlas/G4AtlasTests/src/RPCHitsTestTool.cxx
index bd39e6a6390fcb91edc50b3e77c5bdbe7d416145..ae534c4d2d7807af2e039944ca1120283a31f4e8 100644
--- a/Simulation/G4Atlas/G4AtlasTests/src/RPCHitsTestTool.cxx
+++ b/Simulation/G4Atlas/G4AtlasTests/src/RPCHitsTestTool.cxx
@@ -50,12 +50,9 @@ Identifier RPCHitsTestTool::getIdentifier(HitID rpchit) {
 StatusCode RPCHitsTestTool::checkIdentifier(Identifier offid) {
 
   const MuonGM::RpcReadoutElement* descriptor = m_pMuonMgr->getRpcReadoutElement(offid);
-  if (descriptor != NULL) {
-    Amg::Vector3D xU;
-    // *AS* Amg::Vector3D localHit((*i_hit).localPosition().x(),(*i_hit).localPosition().y(),(*i_hit).localPosition().z());
-    // *AS*    xU = descriptor->localToGlobalCoords(localHit,offid);
-  } else {
+  if (!descriptor) {
     ATH_MSG_FATAL("RPC readout element not found for Id = " << m_pRpcIdHelper->show_to_string(offid));
+    return StatusCode::FAILURE;
   }
 
   // Testing Sim to Offline ID conversion