Closed Bug 872558 Opened 6 years ago Closed 6 years ago

fix uninitialized variable warning in nsDOMWindowUtils::SelectAtPoint

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: froydnj, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

/home/froydnj/src/mozilla-central-official/dom/base/nsDOMWindowUtils.cpp: In member function ‘virtual nsresult nsDOMWindowUtils::SelectAtPoint(float, float, uint32_t, bool*)’:
/home/froydnj/src/mozilla-central-official/dom/base/nsDOMWindowUtils.cpp:3065: warning: ‘amount’ may be used uninitialized in this function
If we get a value we don't recognize, we should complain about it.
Attachment #749895 - Flags: review?(bzbarsky)
Blocks: buildwarning
Comment on attachment 749895 [details] [diff] [review]
fix uninitialized variable warning in nsDOMWindowUtils::SelectAtPoint

r=me
Attachment #749895 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/32547bf04804
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.