From 4f1a0d5be079cb52a4f4a7d5b81df4ef5d5d776d Mon Sep 17 00:00:00 2001 From: "bruce%cybersight.com" Date: Sat, 15 May 1999 22:38:28 +0000 Subject: [PATCH] Warning fix for ANSI C++ violation. git-svn-id: svn://10.0.0.236/trunk@31784 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/tests/viewer/nsEditorMode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webshell/tests/viewer/nsEditorMode.cpp b/mozilla/webshell/tests/viewer/nsEditorMode.cpp index 5fb48a99e8c..3c294daad00 100644 --- a/mozilla/webshell/tests/viewer/nsEditorMode.cpp +++ b/mozilla/webshell/tests/viewer/nsEditorMode.cpp @@ -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;