Closed Bug 513802 Opened 15 years ago Closed 15 years ago

type qualifiers ignored on function return type in nsINode::ChildIterator

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: karlt, Assigned: karlt)

Details

Attachments

(1 file)

gcc's -W(extra) warnings (which are not default enabled for C++ code) mention this:

../../dist/include/nsINode.h: At global scope:
../../dist/include/nsINode.h:856: warning: type qualifiers ignored on function return type

http://hg.mozilla.org/mozilla-central/annotate/f2ebd467b1cd/content/base/public/nsINode.h#l856
Attached patch patchSplinter Review
I suspect this is what may have been intended.
Assignee: nobody → mozbugz
Attachment #397740 - Flags: review?(bzbarsky)
Comment on attachment 397740 [details] [diff] [review]
patch

Yeah, indeed
Attachment #397740 - Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/mozilla-central/rev/c93943dd0139
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: