fix tinderbox orange caused by uninitialized variable

This commit is contained in:
bryner%netscape.com 2002-04-05 01:19:28 +00:00
parent c6f95f45bf
commit ea1bb88703

View File

@ -399,7 +399,7 @@ nsXMLContentSink::DidBuildModel(PRInt32 aQualityLevel)
loader->RemoveObserver(this);
}
PRUint32 documentLoadType;
PRUint32 documentLoadType = 0;
if (mWebShell) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(mWebShell));
if (docShell) {