]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warnings corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2008 10:10:07 +0000 (10:10 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2008 10:10:07 +0000 (10:10 +0000)
STEER/AliAODMCParticle.cxx
STEER/AliAODTagCreator.cxx

index 250747f3d529d52b7c8c91bfd8a8625c69124c65..bc7fcaa2175d82b887ef96754fb199542844e6bc 100644 (file)
@@ -139,7 +139,7 @@ Short_t AliAODMCParticle::Charge()     const
     }
 }
 
-void AliAODMCParticle::Print(const Option_t *opt) const {
+void AliAODMCParticle::Print(const Option_t */*opt*/) const {
   if(TDatabasePDG::Instance()->GetParticle(fPdgCode)){
     Printf(">>> PDG (%d) : %s",fPdgCode,TDatabasePDG::Instance()->GetParticle(fPdgCode)->GetName());
   }
index 322055196007913bfb183e63ec6eaae46d71024a..e0b3c1cd3a8e466150c304027d7134e80653b45b 100644 (file)
@@ -194,7 +194,7 @@ void AliAODTagCreator::CreateAODTags(Int_t fFirstEvent, Int_t fLastEvent, TList
  
     TFile* ftag = TFile::Open(fileName, "recreate");
 
-    AliRunTag *fRunTag = new AliRunTag();
+    fRunTag = new AliRunTag();
     fTreeT = new TTree("T","A Tree with event tags");
     TBranch * btag = fTreeT->Branch("AliTAG", &fRunTag);
     btag->SetCompressionLevel(9);