]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/vertexingHF/AliAODRecoCascadeHF.cxx
Coverity
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AliAODRecoCascadeHF.cxx
index 0608ae4a5dbdcdb817185f57fe48bf569fb4df08..a4fd6fbd338abbd5a56c3709a9abe2826d7e28f2 100644 (file)
@@ -13,6 +13,8 @@
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
+/* $Id$ */
+
 /////////////////////////////////////////////////////////////
 //
 // Class for AOD reconstructed heavy-flavour cascades
@@ -130,7 +132,7 @@ Int_t AliAODRecoCascadeHF::MatchToMC(Int_t pdgabs,Int_t pdgabs2prong,
 
   if(lab2Prong<0) return -1;
 
-  Int_t dgLabels[10];
+  Int_t dgLabels[10]={0,0,0,0,0,0,0,0,0,0};
 
   // loop on daughters and write labels
   for(Int_t i=0; i<ndg; i++) {