diff --git a/mozilla/rdf/datasource/src/nsLocalStore.cpp b/mozilla/rdf/datasource/src/nsLocalStore.cpp index 7937d24b3f4..fa93f35dd1e 100644 --- a/mozilla/rdf/datasource/src/nsLocalStore.cpp +++ b/mozilla/rdf/datasource/src/nsLocalStore.cpp @@ -1,4 +1,5 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* vim: set cindent tabstop=4 expandtab shiftwidth=4: */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * @@ -332,7 +333,11 @@ NS_IMETHODIMP LocalStoreImpl::Flush() { nsCOMPtr remote = do_QueryInterface(mInner); - NS_ASSERTION(remote != nsnull, "not an nsIRDFRemoteDataSource"); + // FIXME Bug 340242: Temporarily make this a warning rather than an + // assertion until we sort out the ordering of how we write + // everything to the localstore, flush it, and disconnect it when + // we're getting profile-change notifications. + NS_WARN_IF_FALSE(remote != nsnull, "not an nsIRDFRemoteDataSource"); if (! remote) return NS_ERROR_UNEXPECTED;