Index: build/secondary/third_party/nss/BUILD.gn |
diff --git a/build/secondary/third_party/nss/BUILD.gn b/build/secondary/third_party/nss/BUILD.gn |
index a285ca1720156fbc119c5980b1906ec8593303cd..16568c031cc1c0e24cf69fb3bc6f8e3e4583ab42 100644 |
--- a/build/secondary/third_party/nss/BUILD.gn |
+++ b/build/secondary/third_party/nss/BUILD.gn |
@@ -332,10 +332,10 @@ |
"-Wno-incompatible-pointer-types", |
# nspr passes "int*" through "unsigned int*". |
"-Wno-pointer-sign", |
- |
- "-Wno-incompatible-pointer-types", |
- "-Wno-pointer-sign", |
- ] |
+ ] |
+ |
+ # nspr uses assert(!"foo") instead of assert(false && "foo"). |
+ configs -= [ "//build/config/clang:extra_warnings" ] |
} |
} |