Closed
Bug 1108078
Opened 10 years ago
Closed 10 years ago
Unused variable ipv4_constraint_* warnings
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1107946
People
(Reporter: rillian, Unassigned)
Details
I cannot build security/pkix/test/gtest/ with -Werror on Apple clang 5.1. 0:41.75 /Users/giles/firefox/security/pkix/test/gtest/pkixnames_tests.cpp:1077:22: error: unused variable 'ipv4_other_addr_str' [-Werror,-Wunused-const-variable] 0:41.75 static const uint8_t ipv4_other_addr_str[] = "5.6.7.8"; 0:41.75 ^ 0:41.75 /Users/giles/firefox/security/pkix/test/gtest/pkixnames_tests.cpp:1153:22: error: unused variable 'ipv4_constraint_truncated_bytes' [-Werror,-Wunused-const-variable] 0:41.75 static const uint8_t ipv4_constraint_truncated_bytes[] = { 0:41.75 ^ 0:41.75 /Users/giles/firefox/security/pkix/test/gtest/pkixnames_tests.cpp:1157:22: error: unused variable 'ipv4_constraint_overlong_bytes' [-Werror,-Wunused-const-variable] 0:41.75 static const uint8_t ipv4_constraint_overlong_bytes[] = { 0:41.75 ^ 0:41.75 /Users/giles/firefox/security/pkix/test/gtest/pkixnames_tests.cpp:1174:22: error: unused variable 'ipv6_constraint_truncated_bytes' [-Werror,-Wunused-const-variable] 0:41.75 static const uint8_t ipv6_constraint_truncated_bytes[] = { 0:41.75 ^ 0:41.75 /Users/giles/firefox/security/pkix/test/gtest/pkixnames_tests.cpp:1180:22: error: unused variable 'ipv6_constraint_overlong_bytes' [-Werror,-Wunused-const-variable] 0:41.75 static const uint8_t ipv6_constraint_overlong_bytes[] = { 0:41.75 ^ 0:41.76 5 errors generated.
![]() |
||
Comment 1•10 years ago
|
||
Thanks, Ralph. We're tracking this in bug 1107946.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•