]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Mar 2009 13:56:44 +0000 (13:56 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Mar 2009 13:56:44 +0000 (13:56 +0000)
PWG3/muon/AliAnalysisTaskLinkToMC.cxx
ZDC/AliZDCDigitizer.cxx

index 77aa906ce150c2dcd3329b0d5d33c74b78886c2e..ab63658ab8b37d1430609e99d98eff55e97601f2 100644 (file)
@@ -579,7 +579,7 @@ void AliAnalysisTaskLinkToMC::CreateAODTracks(TMap& links)
        Double_t pid[10];
        
        // has to be changed once the muon pid is provided by the ESD
-       for (Int_t i = 0; i < 10; pid[i++] = 0.);
+       for (Int_t i = 0; i < 10; pid[i++] = 0.) {}
        pid[AliAODTrack::kMuon]=1.;
        
        AliAODHeader* header = AODEvent()->GetHeader();
index 173b7932057ebed325bd8bf79397e01b8163ae50..2a89d13f37d4a3e2f865d3334c1256e3689e25ce 100644 (file)
@@ -159,7 +159,7 @@ void AliZDCDigitizer::Exec(Option_t* /*option*/)
   Float_t impPar = -1;
   Int_t specNTarg = 0, specPTarg = 0;
   Int_t specNProj = 0, specPProj = 0;
-  Float_t signalTime0;
+  Float_t signalTime0 = 0;
 
   // loop over input streams
   for(Int_t iInput = 0; iInput<fManager->GetNinputs(); iInput++){