Closed Bug 1236462 Opened 8 years ago Closed 8 years ago

[CID 1242907] unused value ret

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox46 affected)

RESOLVED FIXED
Tracking Status
firefox46 --- affected

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: CID1242907)

Attachments

(1 file)

There are unused return values in pcertdb.c:UpdateV6DB.
Summary: [CID CID1242907] unused value ret → [CID 1242907] unused value ret
Attached patch Bug1236462.patchSplinter Review
returning SECFailure in case ret indicates an error.

also at https://codereview.appspot.com/279690043
Attachment #8703550 - Flags: review?(martin.thomson)
Comment on attachment 8703550 [details] [diff] [review]
Bug1236462.patch

Review of attachment 8703550 [details] [diff] [review]:
-----------------------------------------------------------------

I have to assume that the call to (updatedb->close)(...) isn't a necessary piece of cleanup, since other places already return.

https://hg.mozilla.org/projects/nss/rev/3a81f516a049
Attachment #8703550 - Flags: review?(martin.thomson)
Attachment #8703550 - Flags: review+
Attachment #8703550 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: