Closed Bug 1278216 Opened 4 years ago Closed 4 years ago

[Static Analysis][Uninitialized scalar field] In function AstDecodeContext

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox49 --- affected
firefox50 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1362549)

Attachments

(1 file)

The Static Analysis tool Coverity added that |currentLabelIndex_| is not initialized.
As we want to push this Bug 525063 in our m-c we should initialized member variables.
Attachment #8760234 - Flags: review?(jorendorff) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4e9149adb6a
initialize member variable |currentLabelIndex_|. r=jorendorff
https://hg.mozilla.org/mozilla-central/rev/b4e9149adb6a
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.