mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
fix warning.
This commit is contained in:
parent
f44644acd2
commit
1be0682007
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user