Closed Bug 1299749 Opened 4 years ago Closed 4 years ago

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

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID 1372313)

Attachments

(1 file)

The Static Analysis tool Coverity detected that |mPid| is not initialised in the constructor of SessionMessageTask. Looking other the code i can't see where it's used so i suggest we could remove it.
Comment on attachment 8787105 [details]
Bug 1299749 - removed unused variable from SessionMessageTask.

https://reviewboard.mozilla.org/r/75982/#review74050
Attachment #8787105 - Flags: review?(amarchesini) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b9a3973200d
removed unused variable from SessionMessageTask. r=baku
https://hg.mozilla.org/mozilla-central/rev/1b9a3973200d
Status: NEW → RESOLVED
Closed: 4 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.