Init unintialized variable

This commit is contained in:
kipp%netscape.com 1998-07-17 17:54:46 +00:00
parent 516af96c36
commit 3deb49c15f
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ nsDocFactoryImpl::CreateInstance(nsIURL* aURL,
nsIStreamListener** aDocListener,
nsIContentViewer** aDocViewer)
{
nsresult rv;
nsresult rv = NS_ERROR_FAILURE;
nsIDocument* doc = nsnull;
nsIWebWidgetViewer* ww = nsnull;

View File

@ -118,7 +118,7 @@ nsDocFactoryImpl::CreateInstance(nsIURL* aURL,
nsIStreamListener** aDocListener,
nsIContentViewer** aDocViewer)
{
nsresult rv;
nsresult rv = NS_ERROR_FAILURE;
nsIDocument* doc = nsnull;
nsIWebWidgetViewer* ww = nsnull;