Closed Bug 1243401 Opened 8 years ago Closed 8 years ago

[Static Analysis][Uninitialized pointer field] In function MIRGenerator::MIRGenerator(..)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1346274)

Attachments

(1 file)

The Static Analysis tool Coverity added that variables fun_ and nslots_ are not initialized. Since they are not used in the code we should remove them.
Comment on attachment 8712702 [details]
MozReview Request: Bug 1243401 - removed unused variables fun_ and nslots_ from MIRGenerator. r?jorendorff

https://reviewboard.mozilla.org/r/32629/#review29353
Attachment #8712702 - Flags: review+
Note, the reasons these fields are unused is because they moved to the CompileInfo structure.
Keywords: checkin-needed
Comment on attachment 8712702 [details]
MozReview Request: Bug 1243401 - removed unused variables fun_ and nslots_ from MIRGenerator. r?jorendorff

https://reviewboard.mozilla.org/r/32629/#review29405
Attachment #8712702 - Flags: review?(jorendorff) → review+
https://hg.mozilla.org/mozilla-central/rev/7015ed506bc3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: