]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliStack.cxx
Correct warnings for gcc 4.3
[u/mrichter/AliRoot.git] / STEER / AliStack.cxx
index 30349d72cea3e134d35899018fc767f193c3b29d..dedbe3337ce8d27d66c8a56fce26af31ea1d8c57 100644 (file)
@@ -334,9 +334,9 @@ Bool_t AliStack::PurifyKine()
          part = dynamic_cast<TParticle*>(fParticleMap.At(nkeep));
          // as the parent is always *before*, it must be already
          // in place. This is what we are checking anyway!
-         if((parent=part->GetFirstMother())>fHgwmk) 
+         if((parent=part->GetFirstMother())>fHgwmk) {
              if(fTrackLabelMap[parent]==-99) Fatal("PurifyKine","fTrackLabelMap[%d] = -99!\n",parent);
-             else part->SetFirstMother(fTrackLabelMap[parent]);
+             else part->SetFirstMother(fTrackLabelMap[parent]);}
          nkeep++;
       }
   }