]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
loop changed to suppress compilation warning (H.Beck)
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Feb 2013 09:28:45 +0000 (09:28 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Feb 2013 09:28:45 +0000 (09:28 +0000)
STEER/AOD/AliAODTrack.h

index fbce74b30451f5d7a168b0f8798f3319864b2691..c198cb3e074e565418fa83446b426193dcda56f4 100644 (file)
@@ -160,7 +160,7 @@ class AliAODTrack : public AliVTrack {
  
   template <typename T> void SetPID(const T *pid) {
     if(pid) for(Int_t i=0; i<10; ++i) fPID[i]=pid[i];
-    else {for(Int_t i=0; i<10; fPID[i++]=0.) ; fPID[AliAODTrack::kUnknown]=1.;}}
+    else {  for(Int_t i=0; i<10; i++) fPID[i]=0.; fPID[AliAODTrack::kUnknown]=1.;}}
 
   Bool_t IsOn(Int_t mask) const {return (fFlags&mask)>0;}
   ULong_t GetStatus() const { return GetFlags(); }