Removed an nsIAtom* that was never initialized or used, but NS_RELEASED. Found in the build warnings. r=jag.

git-svn-id: svn://10.0.0.236/trunk@78464 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sfraser%netscape.com 2000-09-08 01:25:10 +00:00
parent 7449672327
commit e049071519
2 changed files with 0 additions and 4 deletions

View File

@ -696,7 +696,6 @@ nsXULAttributes::GetNamedItem(const nsAReadableString& aName,
// XXX nameSpaceID only used in dead code (that was giving us a warning).
// XXX I'd remove it completely, but maybe it is a useful reminder???
// PRInt32 nameSpaceID;
nsIAtom* name;
nsCOMPtr<nsINodeInfo> inpNodeInfo;
if (NS_FAILED(rv = mContent->NormalizeAttributeString(aName, *getter_AddRefs(inpNodeInfo))))
@ -720,7 +719,6 @@ nsXULAttributes::GetNamedItem(const nsAReadableString& aName,
}
}
NS_RELEASE(name);
return NS_OK;
}

View File

@ -696,7 +696,6 @@ nsXULAttributes::GetNamedItem(const nsAReadableString& aName,
// XXX nameSpaceID only used in dead code (that was giving us a warning).
// XXX I'd remove it completely, but maybe it is a useful reminder???
// PRInt32 nameSpaceID;
nsIAtom* name;
nsCOMPtr<nsINodeInfo> inpNodeInfo;
if (NS_FAILED(rv = mContent->NormalizeAttributeString(aName, *getter_AddRefs(inpNodeInfo))))
@ -720,7 +719,6 @@ nsXULAttributes::GetNamedItem(const nsAReadableString& aName,
}
}
NS_RELEASE(name);
return NS_OK;
}