Warning fix for ANSI C++ violation.

git-svn-id: svn://10.0.0.236/trunk@31784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bruce%cybersight.com
1999-05-15 22:38:28 +00:00
parent 3e61dc4e64
commit 4f1a0d5be0

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 needsInit=PR_TRUE;
static PRBool needsInit=PR_TRUE;
// This is a big leak if called > once, but its only temp test code, correct?
if (gEditor)
gEditor=nsnull;