From f98ebec6ffa6c60e6039c5c6e1b42d1a3d683d88 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Tue, 13 May 2008 07:41:30 +0000
Subject: [PATCH] Fix a compilation warning when compiling with gcc option
 -Wshadow

git-svn-id: http://root.cern.ch/svn/root/trunk@23811 27541ba8-7e3a-0410-8455-c3a389f83636
---
 geom/geom/src/TGeoNode.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geom/geom/src/TGeoNode.cxx b/geom/geom/src/TGeoNode.cxx
index c5437e5112e..9312771ce5f 100644
--- a/geom/geom/src/TGeoNode.cxx
+++ b/geom/geom/src/TGeoNode.cxx
@@ -231,7 +231,7 @@ void TGeoNode::CheckOverlaps(Double_t ovlp, Option_t *option)
       TObjArray *overlaps = geom->GetListOfOverlaps();
       Int_t novlps = overlaps->GetEntriesFast();     
       TNamed *obj;
-      for (Int_t i=0; i<novlps; i++) {
+      for (i=0; i<novlps; i++) {
          obj = (TNamed*)overlaps->At(i);
          obj->SetName(Form("ov%05d",i));
       }
-- 
GitLab