fix uninitialized-variable-warning.

b=186835 r=glazman sr=jst


git-svn-id: svn://10.0.0.236/trunk@135901 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com 2003-01-06 21:47:24 +00:00
parent 430d9fa86e
commit 4133912a4f

View File

@ -599,7 +599,7 @@ void txMozillaXMLOutput::endHTMLElement(nsIDOMElement* aElement,
do_QueryInterface(aElement);
if (ssle) {
ssle->SetEnableUpdates(PR_TRUE);
ssle->UpdateStyleSheet(nsnull, this);
rv = ssle->UpdateStyleSheet(nsnull, this);
if (rv == NS_ERROR_HTMLPARSER_BLOCK) {
nsCOMPtr<nsIStyleSheet> stylesheet;
ssle->GetStyleSheet(*getter_AddRefs(stylesheet));