From 443ed20fd80d2485590a4c2e8799255f33e75607 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Wed, 23 Apr 2008 08:52:17 +0000
Subject: [PATCH] Fix warning with shadowed variable i

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

diff --git a/core/base/src/TSystem.cxx b/core/base/src/TSystem.cxx
index e1a633f52ec..ffa2102c668 100644
--- a/core/base/src/TSystem.cxx
+++ b/core/base/src/TSystem.cxx
@@ -2844,7 +2844,7 @@ int TSystem::CompileMacro(const char *filename, Option_t *opt,
       AssignAndDelete(file, ConcatFileName(gSystem->HomeDirectory(), name) );
       mapfileStream << file << endl;
       mapfileStream << name << endl;
-      for (int i = 0; i < gInterpreter->GetRootMapFiles()->GetEntriesFast(); i++) {
+      for (i = 0; i < gInterpreter->GetRootMapFiles()->GetEntriesFast(); i++) {
          mapfileStream << ((TObjString*)gInterpreter->GetRootMapFiles()->At(i))->GetString() << endl;
       }
    }
-- 
GitLab