Closed Bug 1159306 Opened 10 years ago Closed 10 years ago

explicitly initialize nsBaseHashtableET::mData

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

mData will get automatically constructed when DataType is a class or struct with a default constructor, but a number of uses of nsBaseHashtable use integer or pointer types as DataType. Explicitly initialize mData so that it looks as though we're fully initializing the class in such cases.
Comment on attachment 8598727 [details] [diff] [review] explicitly initialize nsBaseHashtableET::mData Review of attachment 8598727 [details] [diff] [review]: ----------------------------------------------------------------- r=me
Attachment #8598727 - Flags: review?(erahm) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: