Closed
Bug 1476009
Opened 7 years ago
Closed 7 years ago
[Static Analysis] DEAD_STORE error in storage/mozStorageHelper.h
Categories
(Core :: SQLite and Embedded Database Bindings, defect, P3)
Core
SQLite and Embedded Database Bindings
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: rbartlensky, Assigned: rbartlensky)
References
Details
Attachments
(1 file)
storage/mozStorageHelper.h:157: error: DEAD_STORE
The value written to &rv (type int) is never used.
155. // TODO (bug 1062823): from Sqlite 3.7.11 on, rollback won't ever return
156. // a busy error, so this handling can be removed.
157. > nsresult rv = NS_OK;
158. do {
159. rv = mConnection->ExecuteSimpleSQL(NS_LITERAL_CSTRING("ROLLBACK"));
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8992391 [details]
Bug 1476009: Remove unnecessary initialization.
https://reviewboard.mozilla.org/r/257266/#review264340
Attachment #8992391 -
Flags: review?(mak77) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/44fd25e3d484
Remove unnecessary initialization. r=mak
Keywords: checkin-needed
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•6 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•