From a9f7f06dc9b9349f736c46517b3b802cb63f6a84 Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Wed, 25 Aug 1999 03:11:05 +0000 Subject: [PATCH] removed warnings git-svn-id: svn://10.0.0.236/trunk@44440 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsString.cpp | 2 +- mozilla/xpcom/ds/nsString.cpp | 2 +- mozilla/xpcom/string/obsolete/nsString.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/string/obsolete/nsString.cpp b/mozilla/string/obsolete/nsString.cpp index ba1a7612f6f..aeef1a445ca 100644 --- a/mozilla/string/obsolete/nsString.cpp +++ b/mozilla/string/obsolete/nsString.cpp @@ -590,7 +590,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) { char theChar=0; char theDigit=0; while(--cp>=aString.mStr){ - char theChar=*cp; + theChar=*cp; if((theChar>='0') && (theChar<='9')){ theDigit=theChar-'0'; } diff --git a/mozilla/xpcom/ds/nsString.cpp b/mozilla/xpcom/ds/nsString.cpp index ba1a7612f6f..aeef1a445ca 100644 --- a/mozilla/xpcom/ds/nsString.cpp +++ b/mozilla/xpcom/ds/nsString.cpp @@ -590,7 +590,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) { char theChar=0; char theDigit=0; while(--cp>=aString.mStr){ - char theChar=*cp; + theChar=*cp; if((theChar>='0') && (theChar<='9')){ theDigit=theChar-'0'; } diff --git a/mozilla/xpcom/string/obsolete/nsString.cpp b/mozilla/xpcom/string/obsolete/nsString.cpp index ba1a7612f6f..aeef1a445ca 100644 --- a/mozilla/xpcom/string/obsolete/nsString.cpp +++ b/mozilla/xpcom/string/obsolete/nsString.cpp @@ -590,7 +590,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) { char theChar=0; char theDigit=0; while(--cp>=aString.mStr){ - char theChar=*cp; + theChar=*cp; if((theChar>='0') && (theChar<='9')){ theDigit=theChar-'0'; }