Closed Bug 1788875 Opened 2 years ago Closed 2 years ago

fails to build with clang 15 due to set but not used variable

Categories

(NSS :: Libraries, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iaroslav.gridin, Assigned: jschanck)

Details

Attachments

(1 file)

Steps to reproduce:

% clang --version
Debian clang version 15.0.0-++20220625103012+3d37e785c77a-1~exp1
%./build.sh --clang

Actual results:

../../lib/pkcs12/p12d.c:2773:12: error: variable 'noInstallCnt' set but not used [-Werror,-Wunused-but-set-variable]
    int i, noInstallCnt, probCnt, bagCnt, errorVal = 0;

Expected results:

successful build

Assignee: nobody → jschanck
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: