Closed Bug 1270805 Opened 4 years ago Closed 4 years ago

[Static Analysis][Uninitialized scalar field] In function TypeAndValue<Nothing>::TypeAndValue

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1358983)

Attachments

(1 file)

The Static Analysis tool Coverity added that variable |type_| is not initialized in the default constructor. let's make the default constructor |default| and in this way Coverity will skip it's check also it would help us reduce these kind of checkers and integrate https://bugzilla.mozilla.org/show_bug.cgi?id=525063
Attachment #8749614 - Flags: review?(jdemooij)
Comment on attachment 8749614 [details]
MozReview Request: Bug 1270805 - add default constructor for TypeAndValue<Nothing>. r?jdemooij

https://reviewboard.mozilla.org/r/51065/#review48323
Attachment #8749614 - Flags: review?(jdemooij) → review+
https://hg.mozilla.org/mozilla-central/rev/a82374ae5a01
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.