| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index c9837f31b33f0cde76ea4b6e0324d65199d11eea..08d10a494fa019f7002074a59b999a1a7405d730 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -771,6 +771,10 @@
|
| "-Wno-microsoft-enum-value", # http://crbug.com/505296
|
| "-Wno-unknown-pragmas", # http://crbug.com/505314
|
| "-Wno-microsoft-cast", # http://crbug.com/550065
|
| +
|
| + # Disable unused-value (crbug.com/505318) except -Wunused-result.
|
| + "-Wno-unused-value",
|
| + "-Wunused-result",
|
| ]
|
| }
|
| } else {
|
|
|