]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Mar 2011 19:15:34 +0000 (19:15 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Mar 2011 19:15:34 +0000 (19:15 +0000)
PHOS/AliPHOSIhepAnalyze.cxx

index f66491b1075e09726859fb7d139bfd11a70b23a4..83e7bc654a815ba5712d404841bc71de1e4a5d81 100644 (file)
@@ -782,9 +782,6 @@ void AliPHOSIhepAnalyze::HitsCPV(Int_t nev)
 {
   // Cumulative list of charged CPV impacts in event nev.
 
-  TList * fCpvImpacts ;
-  TBranch * branchCPVimpacts;
-
   AliPHOSLoader* please = dynamic_cast<AliPHOSLoader*>(fRunLoader->GetLoader("PHOSLoader"));
   if ( please == 0 )
    {
@@ -797,6 +794,9 @@ void AliPHOSIhepAnalyze::HitsCPV(Int_t nev)
   //16.03.2011: DP. Code below seems to be obsollete
   //Comment it to sutisfy Coverity
 /* 
+  TList * fCpvImpacts ;
+  TBranch * branchCPVimpacts;
+
   AliPHOSGeometry * phosgeom =  AliPHOSGeometry::GetInstance() ;
 
   fRunLoader->GetEvent(nev);