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
This commit is contained in:
@@ -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<nsIPrefBranch> prefBranch =
|
||||
do_GetService(NS_PREFSERVICE_CONTRACTID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && prefBranch)
|
||||
|
||||
Reference in New Issue
Block a user