]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix Coverity defect
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 12:39:41 +0000 (12:39 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Oct 2010 12:39:41 +0000 (12:39 +0000)
TRD/AliTRDclusterizer.cxx

index de142a4645f7eabb55dc7ec2a5594ed60aaf44c2..ab89b678bf18c9ef57ebc74a2e46ad122e02159f 100644 (file)
@@ -400,7 +400,7 @@ Bool_t AliTRDclusterizer::WriteClusters(Int_t det)
   TObjArray *ioArray = new TObjArray(400);
   TBranch *branch = fClusterTree->GetBranch("TRDcluster");
   if (!branch) {
-    branch = fClusterTree->Branch("TRDcluster","TObjArray",&ioArray,32000,0);
+    fClusterTree->Branch("TRDcluster","TObjArray",&ioArray,32000,0);
   } else branch->SetAddress(&ioArray);
   
   Int_t nRecPoints = RecPoints()->GetEntriesFast();