Coverity fix.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Jan 2011 10:47:21 +0000 (10:47 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Jan 2011 10:47:21 +0000 (10:47 +0000)
TDPMjet/AliIonPDGCodes.cxx

index 08aeaca629173d84ba8d63f4d71632d9e7ed464d..23b1e6f9429000410ce4eb6cc1eb4e9c511fc01e 100644 (file)
@@ -39,6 +39,7 @@ AliIonPDGCodes::AliIonPDGCodes(const AliIonPDGCodes &/*PDGCodes*/)
     :TObject(),
      fNIon(200)
 {
+  for(Int_t i=0; i<fNIon; i++) fPDGCode[i]=0;
 }
 
 //______________________________________________________________________________