]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coverity fix (salvatore)
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Apr 2013 14:03:37 +0000 (14:03 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Apr 2013 14:03:37 +0000 (14:03 +0000)
PWGJE/EMCALJetTasks/AliAnalysisTaskDeltaPt.cxx

index af18ffd6ac8957de1da974e6c1e1def2ef3949be..105115e40ed9b1260ae431c4448ac7fa859b6739 100644 (file)
@@ -71,6 +71,9 @@ AliAnalysisTaskDeltaPt::AliAnalysisTaskDeltaPt() :
     fHistDeltaPtEmbArea[i] = 0;
   }
 
+  memset(fEmbeddedClusterIds, -1, 999*sizeof(Int_t));
+  memset(fEmbeddedTrackIds, -1, 999*sizeof(Int_t));
+
   SetMakeGeneralHistograms(kTRUE);
 }
 
@@ -122,6 +125,9 @@ AliAnalysisTaskDeltaPt::AliAnalysisTaskDeltaPt(const char *name) :
     fHistDeltaPtEmbArea[i] = 0;
   }
 
+  memset(fEmbeddedClusterIds, -1, 999*sizeof(Int_t));
+  memset(fEmbeddedTrackIds, -1, 999*sizeof(Int_t));
+
   SetMakeGeneralHistograms(kTRUE);
 }