Closed
Bug 1793424
Opened 3 years ago
Closed 3 years ago
fails to build with clang 15 and opt build due to set but used only in an assert variable
Categories
(NSS :: Libraries, defect, P3)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: iaroslav.gridin, Unassigned)
Details
+++ This bug was initially created as a clone of Bug #1788875 +++
Steps to reproduce:
% clang --version
Debian clang version 15.0.0-++20220625103012+3d37e785c77a-1~exp1
%./build.sh --clang -o
Actual results:
../../lib/ssl/ssl3con.c:938:18: error: variable 'numEnabled' set but not used [-Werror,-Wunused-but-set-variable]
unsigned int numEnabled = 0;
Expected results:
successful build
Updated•3 years ago
|
Severity: -- → S4
Priority: -- → P3
Comment 1•3 years ago
|
||
Strange.
Works for me:
clang --version
Ubuntu clang version 15.0.4-++20221102053248+5c68a1cb1231-1~exp1~20221102053256.89
The build was successful.
Comment 2•3 years ago
|
||
Let's start with this: could you retry?
Updated•3 years ago
|
Flags: needinfo?(iaroslav.gridin)
| Reporter | ||
Comment 3•3 years ago
|
||
Apparently it has been fixed since.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(iaroslav.gridin)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•