Bug 843363 - Remove unused variable 'rv' in nsDirectoryViewer.cpp. r=bz

This commit is contained in:
Cykesiopka 2013-08-05 20:18:48 -04:00
parent eb5f8005c8
commit e0561e8097

View File

@ -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);