mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 843363 - Remove unused variable 'rv' in nsDirectoryViewer.cpp. r=bz
This commit is contained in:
parent
eb5f8005c8
commit
e0561e8097
@ -1167,8 +1167,6 @@ nsHTTPIndex::ArcLabelsIn(nsIRDFNode *aNode, nsISimpleEnumerator **_retval)
|
||||
NS_IMETHODIMP
|
||||
nsHTTPIndex::ArcLabelsOut(nsIRDFResource *aSource, nsISimpleEnumerator **_retval)
|
||||
{
|
||||
nsresult rv = NS_ERROR_UNEXPECTED;
|
||||
|
||||
*_retval = nullptr;
|
||||
|
||||
nsCOMPtr<nsISimpleEnumerator> child, anonArcs;
|
||||
@ -1179,7 +1177,7 @@ nsHTTPIndex::ArcLabelsOut(nsIRDFResource *aSource, nsISimpleEnumerator **_retval
|
||||
|
||||
if (mInner)
|
||||
{
|
||||
rv = mInner->ArcLabelsOut(aSource, getter_AddRefs(anonArcs));
|
||||
mInner->ArcLabelsOut(aSource, getter_AddRefs(anonArcs));
|
||||
}
|
||||
|
||||
return NS_NewUnionEnumerator(_retval, child, anonArcs);
|
||||
|
Loading…
Reference in New Issue
Block a user