Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen

r=neil sr=neil
This commit is contained in:
timeless%mozdev.org 2006-05-06 21:46:55 +00:00
Родитель c3d5345371
Коммит bb97bc429d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)