mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Init unintialized variable
This commit is contained in:
parent
516af96c36
commit
3deb49c15f
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user