[Static Analysis] DEAD_STORE error in toolkit/components/remote/nsXRemoteService.cpp

RESOLVED FIXED in Firefox 63

Status

()

P3
normal
RESOLVED FIXED
6 months ago
6 months ago

People

(Reporter: rbartlensky, Assigned: rbartlensky)

Tracking

(Blocks: 1 bug)

unspecified
mozilla63
Points:
---

Firefox Tracking Flags

(firefox63 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 months ago
toolkit/components/remote/nsXRemoteService.cpp:195: error: DEAD_STORE
  The value written to &i (type int) is never used.
  193.     sMozProfileAtom     = XAtoms[i++];
  194.     sMozProgramAtom     = XAtoms[i++];
  195. >   sMozCommandLineAtom = XAtoms[i++];
  196.   }
Comment hidden (mozreview-request)

Comment 2

6 months ago
mozreview-review
Comment on attachment 8992387 [details]
Bug 1476014: Remove unnecessary postincrement.

https://reviewboard.mozilla.org/r/257250/#review264076
Attachment #8992387 - Flags: review?(nfroyd) → review+
(Assignee)

Updated

6 months ago
Keywords: checkin-needed

Comment 3

6 months ago
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/10ca5b14dbdb
Remove unnecessary postincrement. r=froydnj
Keywords: checkin-needed

Comment 4

6 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/10ca5b14dbdb
Status: NEW → RESOLVED
Last Resolved: 6 months ago
status-firefox63: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.