mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Removed an nsIAtom* that was never initialized or used, but NS_RELEASED. Found in the build warnings. r=jag.
This commit is contained in:
parent
61de6a40df
commit
7e6c98de52
@ -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