From 08ff636b0b0e5c97ab9b847480cc474c7471bd14 Mon Sep 17 00:00:00 2001 From: hristov Date: Tue, 3 May 2011 07:25:57 +0000 Subject: [PATCH] Coverity 16620 --- EMCAL/AliEMCALRecoUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMCAL/AliEMCALRecoUtils.cxx b/EMCAL/AliEMCALRecoUtils.cxx index 5a603ed7a4a..432f5f79023 100644 --- a/EMCAL/AliEMCALRecoUtils.cxx +++ b/EMCAL/AliEMCALRecoUtils.cxx @@ -1328,7 +1328,7 @@ Bool_t AliEMCALRecoUtils::IsGoodCluster(AliVCluster *cluster, AliEMCALGeometry * // // Bool_t isGood=kTRUE; - if(!cluster || !cluster->IsEMCAL()) isGood=kFALSE; + if(!cluster || !cluster->IsEMCAL()) return kFALSE; if(ClusterContainsBadChannel(geom,cluster->GetCellsAbsId(),cluster->GetNCells())) isGood=kFALSE; if(!CheckCellFiducialRegion(geom,cluster,cells)) isGood=kFALSE; if(fRejectExoticCluster && IsExoticCluster(cluster)) isGood=kFALSE; -- 2.43.0