fix uninitialized variable warning in nsDOMWindowUtils::SelectAtPoint

RESOLVED FIXED in mozilla24

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: froydnj, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
mozilla24
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
/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
(Reporter)

Comment 1

5 years ago
Created attachment 749895 [details] [diff] [review]
fix uninitialized variable warning in nsDOMWindowUtils::SelectAtPoint

If we get a value we don't recognize, we should complain about it.
Attachment #749895 - Flags: review?(bzbarsky)
(Reporter)

Updated

5 years ago
Blocks: 187528
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.