Closed Bug 1120691 Opened 11 years ago Closed 11 years ago

pp.c: warning: too many arguments for format [-Wformat-extra-args]

Categories

(NSS :: Tools, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
3.17.4

People

(Reporter: Cykesiopka, Assigned: Cykesiopka)

Details

Attachments

(1 file)

I get the following build warning on Ubuntu 14.10 with GCC 4.9.1: > pp.c: In function ‘Usage’: > pp.c:35:13: warning: too many arguments for format [-Wformat-extra-args] > SEC_CT_PKCS7, SEC_CT_CRL, SEC_CT_NAME); > ^ It appears this was introduced here: https://hg.mozilla.org/projects/nss/diff/04c846cc7a85/cmd/pp/pp.c#l1.26 I'll attach a patch that removes the extra args shortly.
Attachment #8547817 - Flags: review?(kaie)
Component: Libraries → Tools
Comment on attachment 8547817 [details] [diff] [review] bug1120691_fix-pp-too-many-args-for-format_v1.patch r=kaie
Attachment #8547817 - Flags: review?(kaie) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.18
mass change target milestone to 3.17.4
Target Milestone: 3.18 → 3.17.4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: