Missing initialisation.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Oct 2013 12:37:56 +0000 (12:37 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 28 Oct 2013 12:37:56 +0000 (12:37 +0000)
PWGJE/UserTasks/AliAnalysisTaskJetShape.cxx

index e24aeca..d90dcf0 100644 (file)
@@ -1380,8 +1380,8 @@ Bool_t AliAnalysisTaskJetShape::AliAnalysisTaskJetShapeHM::AddEvent(AliAODEvent*
 
   AliAODVertex* primVtx = aodE->GetPrimaryVertex();
   Double_t bfield = aodE->GetMagneticField();
-  Double_t dca[2];
-  Double_t cov[3];
+  Double_t dca[2] = {0., 0.};
+  Double_t cov[3] = {0., 0., 0.};
 
   TVector3 vecJ(jet->Px(),jet->Py(),jet->Pz());