From bb97bc429dfef7db86d8f8d1113acacdc4e23018 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 --- editor/libeditor/html/nsHTMLDataTransfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/libeditor/html/nsHTMLDataTransfer.cpp b/editor/libeditor/html/nsHTMLDataTransfer.cpp index a40f412510ad..16bd44914274 100644 --- a/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/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)