Bug 956449: Remove unused variable in ~RDFXMLDataSourceImpl() to fix build warning. r=bsmedberg

This commit is contained in:
Daniel Holbert 2014-01-06 11:33:36 -08:00
parent df96ea1bab
commit 1af2b4b9bf
2 changed files with 3 additions and 4 deletions

View File

@ -21,4 +21,5 @@ UNIFIED_SOURCES += [
'rdfutil.cpp',
]
FAIL_ON_WARNINGS = True
FINAL_LIBRARY = 'rdf'

View File

@ -427,13 +427,11 @@ RDFXMLDataSourceImpl::Init()
RDFXMLDataSourceImpl::~RDFXMLDataSourceImpl(void)
{
nsresult rv;
// Unregister first so that nobody else tries to get us.
rv = gRDFService->UnregisterDataSource(this);
(void) gRDFService->UnregisterDataSource(this);
// Now flush contents
rv = Flush();
(void) Flush();
// Release RDF/XML sink observers
mObservers.Clear();