Index: webrtc/examples/BUILD.gn |
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
index d0808b110ab73439106dbab72146d7e600d7e334..0098d69781b72a4ca416a826ed4cdf85142d9cea 100644 |
--- a/webrtc/examples/BUILD.gn |
+++ b/webrtc/examples/BUILD.gn |
@@ -393,11 +393,16 @@ |
"-Wno-deprecated-declarations", |
"-Wno-nonnull", |
"-Wno-semicolon-before-method-body", |
+ "-Wno-unused-variable", |
] |
cflags_objc = [ |
# Enabled for cflags_objc in build/config/compiler/BUILD.gn. |
"-Wno-objc-missing-property-synthesis", |
+ |
+ # Hide the warning for SecRandomCopyBytes(), until we update to upstream. |
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=6396 |
+ "-Wno-unused-result", |
] |
} |