Closed Bug 555659 Opened 15 years ago Closed 14 years ago

places/tests/cpp/mock_Link.h doesn't initialize mRegistered and mContent

Categories

(Toolkit :: Places, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

http://mxr.mozilla.org/mozilla-central/source/content/base/src/Link.cpp?mark=58-59#56
56 Link::Link()
57   : mLinkState(defaultState)
58   , mRegistered(false)
59   , mContent(NULL)
60 {
61 }


92 Link::Link()
93 : mLinkState(mozilla::dom::Link::defaultState)
94 {
95 }
Attached patch fix warning (deleted) — Splinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #435559 - Flags: review?(sdwilsh)
Comment on attachment 435559 [details] [diff] [review]
fix warning

nit: commas in line with the colon please

r=sdwilsh with that change
Attachment #435559 - Flags: review?(sdwilsh) → review+
http://hg.mozilla.org/mozilla-central/rev/e9f9da1b1b1c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: