Fixed uninitialized variable...

This commit is contained in:
rpotts%netscape.com 1998-07-23 04:25:20 +00:00
parent d6f7d066b2
commit 01af9d76c0
2 changed files with 4 additions and 4 deletions

View File

@ -510,8 +510,8 @@ void nsDocLoaderImpl::LoadURLComplete(nsISupports* aBindInfo)
if (PR_TRUE != rv) {
nsDocumentBindInfo* docInfo;
docInfo->QueryInterface(kDocumentBindInfoIID, (void**)&docInfo);
NS_ASSERTION((docInfo->GetStatus() == NS_BINDING_ABORTED),
rv = aBindInfo->QueryInterface(kDocumentBindInfoIID, (void**)&docInfo);
NS_ASSERTION(((NS_OK == rv) && (docInfo->GetStatus() == NS_BINDING_ABORTED)),
"Entry was not Aborted!");
}
#endif /* NS_DEBUG */

View File

@ -510,8 +510,8 @@ void nsDocLoaderImpl::LoadURLComplete(nsISupports* aBindInfo)
if (PR_TRUE != rv) {
nsDocumentBindInfo* docInfo;
docInfo->QueryInterface(kDocumentBindInfoIID, (void**)&docInfo);
NS_ASSERTION((docInfo->GetStatus() == NS_BINDING_ABORTED),
rv = aBindInfo->QueryInterface(kDocumentBindInfoIID, (void**)&docInfo);
NS_ASSERTION(((NS_OK == rv) && (docInfo->GetStatus() == NS_BINDING_ABORTED)),
"Entry was not Aborted!");
}
#endif /* NS_DEBUG */