]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG1/AliTreeDraw.cxx
Fixing a compilation warning
[u/mrichter/AliRoot.git] / PWG1 / AliTreeDraw.cxx
index 1ab865cd201a5733a55a25f8f5f30e07e4f854a8..8425380229dcbc84de23629556864873420bf2df 100644 (file)
@@ -472,8 +472,8 @@ void   AliTreeDraw::GetPoints3D(const char * label, const char * chpoints,
    Int_t npoints = fTree->Draw(label,selection);
    Float_t xyz[30000];
    rmin*=rmin;
-   for (Int_t i=0;i<npoints;i++){
-     Int_t index = (Int_t)fTree->GetV1()[i];
+   for (Int_t ii=0;ii<npoints;ii++){
+     Int_t index = (Int_t)fTree->GetV1()[ii];
      tpoints->GetEntryWithIndex(index,index);
      if (points->GetNPoints()<2) continue;
      Int_t goodpoints=0;