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:
parent
7449672327
commit
e049071519
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user