Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 732f71aca18612ba8207512b5690e5004d8ab64d..6b86d5ec31a834421c9aa34b96a6b295339d3911 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -946,14 +946,6 @@ config("no_chromium_code") { |
cflags += [ "-Wall" ] |
} |
- if (is_linux) { |
- # Don't warn about ignoring the return value from e.g. close(). This is |
- # off by default in some gccs but on by default in others. BSD systems do |
- # not support this option, since they are usually using gcc 4.2.1, which |
- # does not have this flag yet. |
- cflags += [ "-Wno-unused-result" ] |
- } |
- |
if (is_clang) { |
cflags += [ |
# Lots of third-party libraries have unused variables. Instead of |