Bug 822289 trivial followup: remove completely-unused 'nsresult rv' in InMemoryDataSource::GetAllResources.

This commit is contained in:
Daniel Holbert 2013-01-29 14:30:12 -08:00
parent 27a9e73876
commit 5843560d9e

View File

@ -1758,8 +1758,6 @@ InMemoryDataSource::ResourceEnumerator(PLDHashTable* aTable,
NS_IMETHODIMP
InMemoryDataSource::GetAllResources(nsISimpleEnumerator** aResult)
{
nsresult rv;
nsCOMArray<nsIRDFNode> nodes;
if (!nodes.SetCapacity(mForwardArcs.entryCount)) {
return NS_ERROR_OUT_OF_MEMORY;