Closed
Bug 1561558
Opened 6 years ago
Closed 6 years ago
Remove -Wmaybe-uninitialized warning in httpserv.c
Categories
(NSS :: Build, defect, P2)
NSS
Build
Tracking
(Not tracked)
RESOLVED
FIXED
3.46
People
(Reporter: giulio.benetti, Assigned: giulio.benetti)
Details
Attachments
(1 file)
|
820 bytes,
patch
|
marcus.apb
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Steps to reproduce:
make nss_build_all BUILD_OPT=1 ALLOW_OPT_CODE_SIZE=1 OPT_CODE_SIZE=1
Actual results:
httpserv.c: In function ‘handle_connection.isra.1’:
httpserv.c:747:32: error: ‘isPost’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (!isPost && ocspMethodsAllowed == ocspGetUnknown) {
^
Expected results:
No warning.
| Assignee | ||
Comment 1•6 years ago
|
||
This patch fixes the warning.
Updated•6 years ago
|
Assignee: nobody → giulio.benetti
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P2
Updated•6 years ago
|
Attachment #9074153 -
Flags: review?(marcus.apb)
Comment 2•6 years ago
|
||
Hi Giulio,
Thanks to report and already send a patch.
This fix looks good.
Could you use moz-phg to send this patch, please?
Thanks,
Flags: needinfo?(giulio.benetti)
Comment 3•6 years ago
|
||
Comment on attachment 9074153 [details] [diff] [review]
0001-Bug-1561558-Remove-Wmaybe-uninitialized-warning-in-h.patch
Review of attachment 9074153 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks
Attachment #9074153 -
Flags: review?(marcus.apb) → review+
Updated•6 years ago
|
Keywords: checkin-needed
Comment 4•6 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 3.46
| Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(giulio.benetti)
You need to log in
before you can comment on or make changes to this bug.
Description
•