nsresult    rv = NS_OK;  if (mBookmarksAvailable == PR_TRUE) { nsCOMPtr<nsIFile> bookmarksFile; rv = GetBookmarksFile(getter_AddRefs(bookmarksFile));    if (NS_FAILED(rv))  return NS_OK;  rv = WriteBookmarks(bookmarksFile, mInner, kNC_BookmarksRoot); } return rv;
return WriteBookmarks(mInner, kNC_BookmarksRoot);
nsBookmarksService::Flush(){    nsresult    rv = NS_OK;    if (mBookmarksAvailable == PR_TRUE)    {        nsCOMPtr<nsIFile> bookmarksFile;        rv = GetBookmarksFile(getter_AddRefs(bookmarksFile));        // Oh well, couldn't get the bookmarks file. Guess there        // aren't any bookmarks for us to write out.        if (NS_FAILED(rv))  return NS_OK;        rv = WriteBookmarks(bookmarksFile, mInner, kNC_BookmarksRoot);    }    return rv;}