Closed Bug 1300745 Opened 3 years ago Closed 3 years ago

[Static Analysis][Uninitialized scalar field] In constructor CustomElementDefinition

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1372474)

Attachments

(1 file)

The Static Analysis tool Coverity detected that variable |mElementIsBeingCreated| is not initialised in the default constructor. Looking other the code |mElementIsBeingCreated| is not used so i think we can just remove it.
Comment on attachment 8788427 [details]
Bug 1300745 - remoed unused variable from CustomElementDefinition.

https://reviewboard.mozilla.org/r/76934/#review75058
Attachment #8788427 - Flags: review?(amarchesini) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0788fe67e9ae
remoed unused variable from CustomElementDefinition. r=baku
https://hg.mozilla.org/mozilla-central/rev/0788fe67e9ae
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.