From 962ef02d63537041095bc0ab653ae1e6495067d0 Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Wed, 23 Apr 2008 09:23:37 +0000
Subject: [PATCH] Fix shadowed variables.

git-svn-id: http://root.cern.ch/svn/root/trunk@23420 27541ba8-7e3a-0410-8455-c3a389f83636
---
 hist/hist/src/TMultiDimFit.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hist/hist/src/TMultiDimFit.cxx b/hist/hist/src/TMultiDimFit.cxx
index 311f31e5094..c77fc3b3cd9 100644
--- a/hist/hist/src/TMultiDimFit.cxx
+++ b/hist/hist/src/TMultiDimFit.cxx
@@ -3609,13 +3609,13 @@ void TMultiDimFit::Print(Option_t *option) const
          if (i != fNVariables-1) cout << ", ";
       }
       cout << ") = ";
-      for (Int_t i = 0; i < fNCoefficients; i++) {
+      for (i = 0; i < fNCoefficients; i++) {
          if (i != 0)
             cout << endl << "\t" << (fCoefficients(i) < 0 ? "- " : "+ ") 
             << TMath::Abs(fCoefficients(i));
          else 
             cout << fCoefficients(i);
-         for (Int_t j = 0; j < fNVariables; j++) {
+         for (j = 0; j < fNVariables; j++) {
             Int_t p = fPowers[fPowerIndex[i] * fNVariables + j];
             switch (p) { 
                case 1: break;
-- 
GitLab