]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix
authorauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Jul 2013 12:05:35 +0000 (12:05 +0000)
committerauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Jul 2013 12:05:35 +0000 (12:05 +0000)
MFT/AliMuonForwardTrackFinder.cxx

index f9bc1e726259901502521954b6eb01ad17ee64e1..4d39448c31cd48c95d4cd8d70ab3f3f5d616bb73 100644 (file)
@@ -1413,9 +1413,9 @@ void AliMuonForwardTrackFinder::PrintParticleHistory() {
   if (fLabelMC>=0) part = fStack->Particle(fLabelMC);
 
   AliDebug(1, Form("fStack->Particle(%d) = %p", fLabelMC, part));
-  AliDebug(1, Form("fStack->Particle(%d)->GetPdgCode() = %d", fLabelMC, part->GetPdgCode()));
 
   if (part) {
+    AliDebug(1, Form("fStack->Particle(%d)->GetPdgCode() = %d", fLabelMC, part->GetPdgCode()));
     if (part->GetFirstMother() != -1) {
       TParticle *partMother = fStack->Particle(part->GetFirstMother());
       AliDebug(1, Form("fStack->Particle(%d) = %p", part->GetFirstMother(), partMother));