removed unsightly warnings from string classes

git-svn-id: svn://10.0.0.236/trunk@24751 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-03-23 00:28:36 +00:00
parent a00004c8fa
commit 0eea29e86d
10 changed files with 34 additions and 34 deletions

View File

@@ -124,7 +124,7 @@ HandleCaseConversionShutdown2::OnShutdown(const nsCID& cid, nsISupports* service
{
if (cid.Equals(kUnicharUtilCID)) {
NS_ASSERTION(service == gCaseConv, "wrong service!");
nsrefcnt cnt = gCaseConv->Release();
gCaseConv->Release();
gCaseConv = NULL;
}
return NS_OK;
@@ -742,7 +742,7 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
PRUnichar* cp = (-1==decPt) ? mStr + mLength-1 : mStr+decPt-1;
char digit=0;
PRUnichar theChar;
PRInt32 theShift=0;
// PRInt32 theShift=0;
PRInt32 theMult=1;
*aErrorCode = (0<mLength) ? NS_OK : NS_ERROR_ILLEGAL_VALUE;