Closed Bug 215544 Opened 23 years ago Closed 15 years ago

build warnings in nsHTMLEditRules.cpp

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: glazou)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

when building on mingw: c:/mozilla/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp: In member function `nsresult nsHTMLEditRules::WillOutdent(nsISelection*, PRBool*, PRBool*)': c:/mozilla/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp:3799: warning: ` PRBool curBlockQuoteIsIndentedWithCSS' might be used uninitialized in this function
.
Assignee: mozeditor → daniel
QA Contact: bugzilla → editor
Whiteboard: [build_warning]
Blocks: buildwarning
http://mxr.mozilla.org/mozilla-central/source/editor/libeditor/html/nsHTMLEditRules.cpp#4019 PRBool curBlockQuoteIsIndentedWithCSS = PR_FALSE; Now curlBlockQuoteIsIndentedWithCSS variable in initialized. So this warning will not occur.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.