Closed Bug 1908763 Opened 2 years ago Closed 1 year ago

nss/h_bigkey.c: Value stored to 'pageno' is never read

Categories

(NSS :: Libraries, defect, P5)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Sylvestre, Assigned: nwipper, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=C])

Attachments

(1 file)

Filling as a good first bug to learn workflows.

Value stored to 'pageno' is never read

https://sylvestre.ledru.info/reports/nss-scan-build/report-h_bigkey.c-dbm_big_delete-8-c8d5f1.html#EndPath

As the change is trivial, it is just to learn how to contribute to Firefox.

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/security/nss/build.html#mozilla-projects-nss-building
(note that it is for firefox but patch submission should be the same)
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

No longer depends on: 1908762
Mentor: sledru
Summary: nss/h_bigkey.c: Value stored to 'nextChunk' is never read → nss/h_bigkey.c: Value stored to 'pageno' is never read

Variable was assigned, but is immediately overwritten in or right after the loop.

Assignee: nobody → nwipper
Severity: -- → S4
Type: task → defect
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: