coverity fixes
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Jan 2011 19:39:34 +0000 (19:39 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Jan 2011 19:39:34 +0000 (19:39 +0000)
PWG4/JetTasks/AliAnalysisTaskJetChem.cxx

index b43927d..403fd4d 100644 (file)
@@ -781,9 +781,9 @@ Double_t AliAnalysisTaskJetChem::GetJetRadius(const AliAODJet* jet, const Double
   }
 
 
-  Double_t deltaR[kArraySize];
-  Double_t pt[kArraySize];
-  Int_t index[kArraySize];
+  Double_t deltaR[kArraySize] = {kInitVal};
+  Double_t pt[kArraySize] = {kInitVal};
+  Int_t index[kArraySize] = {kInitVal};
   for(int i=0; i<kArraySize; i++) index[i] = kInitVal;