Now that we can read in the localstore, don't hide failure to read it in any more.

This commit is contained in:
rjc%netscape.com 1999-08-02 06:39:54 +00:00
Родитель 0a6a47d58e
Коммит bffc7090f3
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -206,13 +206,15 @@ NS_NewLocalStore(nsILocalStore** aResult)
// We need to read this synchronously.
rv = impl->Refresh(PR_TRUE);
#if 0
// XXX for the moment, ignore any refresh errors
if (NS_FAILED(rv)) {
#ifdef DEBUG
printf("\n\nRDF: NS_NewLocalStore::Refresh() failed.\n\n");
#endif
delete impl;
return rv;
}
#endif
NS_ADDREF(impl);
*aResult = impl;