Closed
Bug 603292
Opened 14 years ago
Closed 14 years ago
PRUint32 countU < 0 is useless in nsHTMLEditor::AddNewStyleSheetToList
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: timeless, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Keywords: coverity)
Attachments
(1 file)
951 bytes,
patch
|
roc
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
3644 nsHTMLEditor::AddNewStyleSheetToList(const nsAString &aURL, 3645 nsCSSStyleSheet *aStyleSheet) 3646 { 3647 PRUint32 countSS = mStyleSheets.Length(); 3648 PRUint32 countU = mStyleSheetURLs.Length(); 3649 3650 if (countU < 0 || countSS != countU) 3651 return NS_ERROR_UNEXPECTED;
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #482424 -
Flags: review?(roc)
Attachment #482424 -
Flags: approval2.0?
Attachment #482424 -
Flags: review?(roc) → review+
Updated•14 years ago
|
Attachment #482424 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs landing]
Assignee | ||
Comment 2•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b40c5634a2ea
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla2.0b8
Updated•6 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•