]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity fix
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 May 2012 15:18:43 +0000 (15:18 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 May 2012 15:18:43 +0000 (15:18 +0000)
STEER/STEER/AliMillePedeRecord.cxx

index e68f60468fae195da3229b8d27df8a00882971ff..15d454c1f3d0b165b3c1c693f2ba478e8999e962 100644 (file)
@@ -206,7 +206,7 @@ Double_t AliMillePedeRecord::GetWeight(Int_t pnt) const
   //  
   while(cnt<fSize) {
     //
-    Double_t resid = fValue[cnt++];
+    cnt++;
     while(!IsWeight(cnt)) cnt++;
     if (point==pnt) return GetValue(cnt);;
     cnt++;