Closed Bug 818860 Opened 12 years ago Closed 9 years ago

GCC prints warning about unused variable in nssinit.c

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1182667

People

(Reporter: stef, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11 Steps to reproduce: Building NSS prints out a warning about an unused variable. Actual results: nssinit.c: In function ‘NSS_VersionCheck’: nssinit.c:1255:19: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] Expected results: No warning should be printed. Patch attached.
Status: UNCONFIRMED → NEW
Ever confirmed: true
It looks like this was fixed as part of Bug 1182667: https://hg.mozilla.org/projects/nss/diff/0a59f0bce2ea/lib/nss/nssinit.c#l1.55 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.

Attachment

General

Creator:
Created:
Updated:
Size: