fix warning.

This commit is contained in:
sspitzer%netscape.com 1999-07-03 00:26:59 +00:00
parent f44644acd2
commit 1be0682007

View File

@ -50,7 +50,7 @@ static NS_DEFINE_CID(kEditorCID, NS_EDITOR_CID);
nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShell)
{
nsresult result = NS_OK;
static PRBool needsInit=PR_TRUE;
// This is a big leak if called > once, but its only temp test code, correct?
if (gEditor)
gEditor=nsnull;