Closed Bug 1254406 Opened 8 years ago Closed 8 years ago

Remove unneeded check on CC_NAME

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: mt, Assigned: mt)

References

Details

Attachments

(1 file)

This is fairly trivial, but without it, -Werror is disabled on my machine.

Note that we already have a check for CC_IS_GCC above.
Attachment #8727710 - Flags: review?(ttaubert)
Attachment #8727710 - Attachment is patch: true
Comment on attachment 8727710 [details] [diff] [review]
excessive check removed

Review of attachment 8727710 [details] [diff] [review]:
-----------------------------------------------------------------

Yeah, I think that should be fine.
Attachment #8727710 - Flags: review?(ttaubert) → review+
https://hg.mozilla.org/projects/nss/rev/2e605fde0fa9
Assignee: nobody → martin.thomson
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.24
Sorry, had to back this out:

https://hg.mozilla.org/projects/nss/rev/e43f7177f890

https://circleci.com/gh/nss-dev/nss/354

In function ‘memset’,
    inlined from ‘sec_PKCS7Encrypt’ at p7local.c:715:2:
/usr/include/x86_64-linux-gnu/bits/string3.h:81:7: error: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [-Werror]
       __warn_memset_zero_len ();
       ^
cc1: all warnings being treated as errors
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
We should have backed out Bug 1234510.
https://hg.mozilla.org/projects/nss/rev/d8064837a36f
Status: REOPENED → RESOLVED
Closed: 8 years ago8 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: