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)

defect

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"));
Attachment #8992391 - Flags: review?(mak77) → review+
Keywords: checkin-needed
Pushed by aiakab@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44fd25e3d484 Remove unnecessary initialization. r=mak
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: