| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index be61892898d76184f07b263c0ffc411503b615ee..06f8e4a296719a500aa37756ab67c5e016c01a1a 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -575,7 +575,10 @@ config("default_warnings") {
|
| "-Qunused-arguments", # http://crbug.com/504658
|
| "-Wno-microsoft-enum-value", # http://crbug.com/505296
|
| "-Wno-unknown-pragmas", # http://crbug.com/505314
|
| - "-Wno-unused-value", # http://crbug.com/505318
|
| +
|
| + # Disable unused-value (crbug.com/505318) except -Wunused-result.
|
| + "-Wno-unused-value",
|
| + "-Wunused-result",
|
| ]
|
| }
|
| } else {
|
|
|