Coverity fix 24189
authorbelikov <Iouri.Belikov@cern.ch>
Mon, 23 Jun 2014 09:14:11 +0000 (11:14 +0200)
committerbelikov <Iouri.Belikov@cern.ch>
Mon, 23 Jun 2014 09:14:11 +0000 (11:14 +0200)
ITS/UPGRADE/AliITSUTrackerCooked.cxx

index 526dde3..eada08b 100644 (file)
@@ -610,7 +610,7 @@ Int_t AliITSUTrackerCooked::LoadClusters(TTree *cTree) {
 
   for (Int_t i=0; i<kNLayers; i++) {
       TBranch *br = cTree->GetBranch(Form("ITSRecPoints%d",i));
-      if (!br) AliFatal(Form("No cluster branch for layer %d",i));
+      if (!br) {AliFatal(Form("No cluster branch for layer %d",i)); return 1;}
       br->SetAddress(&clusters);
       br->GetEvent(0);
       switch (i) {