From b45f12f200265cdc6aa5df5ed4f11ebd5c4a9038 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Sat, 6 May 2006 21:46:55 +0000 Subject: [PATCH] Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen r=neil sr=neil git-svn-id: svn://10.0.0.236/trunk@196115 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp index a40f412510a..16bd4491427 100644 --- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp @@ -2179,7 +2179,7 @@ nsHTMLEditor::InsertAsPlaintextQuotation(const nsAString & aQuotedText, // The quotesPreformatted pref is a temporary measure. See bug 69638. // Eventually we'll pick one way or the other. - PRBool quotesInPre; + PRBool quotesInPre = PR_FALSE; nsCOMPtr prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID, &rv); if (NS_SUCCEEDED(rv) && prefBranch)