Closed
Bug 950340
Opened 11 years ago
Closed 9 years ago
resolve warning in security/nss/lib/certdb/
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1182667
People
(Reporter: stebog92, Unassigned)
Details
Attachments
(1 file)
992 bytes,
patch
|
briansmith
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20131214121520
Steps to reproduce:
When i build, i found this warning : In function ‘cert_CheckCertRevocationStatus’: crl.c:2688:27: warning: unused variable ‘rv2’ [-Wunused-variable] SECStatus rv2 = CERT_FindCRLEntryReasonExten(entry, &reason); . I resolved it removing rv2 variable. I also want to mention that this is my first commit and i want to learn this process.
Reporter | ||
Comment 1•11 years ago
|
||
This is my first patch. Please let me know if this is ok.
Attachment #8347614 -
Flags: review?(brian)
Comment 2•11 years ago
|
||
Comment on attachment 8347614 [details] [diff] [review]
950340.patch
Review of attachment 8347614 [details] [diff] [review]:
-----------------------------------------------------------------
::: security/nss/lib/certdb/crl.c
@@ +2684,5 @@
> rv = SECFailure;
> }
> if (SECFailure == rv)
> {
> + CERT_FindCRLEntryReasonExten(entry, &reason);
Thanks for the patch. Please use "(void) " to make it clear that we're purposely ignoring the return value.
Attachment #8347614 -
Flags: review?(brian) → review-
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•10 years ago
|
Assignee: nobody → nobody
Component: Security → Libraries
Product: Core → NSS
Version: Trunk → trunk
Comment 3•9 years ago
|
||
Looks like this was fixed as part of Bug 1182667:
https://hg.mozilla.org/projects/nss/diff/0a59f0bce2ea/lib/certdb/crl.c#l1.37
Thanks for the patch anyways.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•