[Static Analysis] DEAD_STORE error in netwerk/mime/nsMIMEHeaderParamImpl.cpp

RESOLVED FIXED in Firefox 63

Status

()

P3
normal
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: rbartlensky, Assigned: rbartlensky)

Tracking

unspecified
mozilla63
Points:
---

Firefox Tracking Flags

(firefox63 fixed)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 attachment)

(Assignee)

Description

8 months ago
netwerk/mime/nsMIMEHeaderParamImpl.cpp:455: error: DEAD_STORE
  The value written to &valueStart (type char const *) is never used.
  453.       const char *nameStart = str;
  454.       const char *nameEnd = nullptr;
  455. >     const char *valueStart = str;
  456.       const char *valueEnd = nullptr;
  457.       bool isQuotedString = false;
Whiteboard: [necko-triaged]
Comment hidden (mozreview-request)

Comment 3

8 months ago
mozreview-review
Comment on attachment 8992597 [details]
Bug 1476016: Fix DEAD_STORE issue in nsMIMEHeaderParamImpl.

https://reviewboard.mozilla.org/r/257470/#review265488
Attachment #8992597 - Flags: review?(michal.novotny) → review+
(Assignee)

Updated

8 months ago
Keywords: checkin-needed

Comment 4

8 months ago
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/51abf3731a71
Fix DEAD_STORE issue in nsMIMEHeaderParamImpl. r=michal
Keywords: checkin-needed

Comment 5

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/51abf3731a71
Status: NEW → RESOLVED
Last Resolved: 8 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.