Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: BUILD.gn

Issue 1719453003: [GN] Add -Wno-unused-result on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@m49
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 77f8aa6a06e90fc4df8f4126f0bb96e2ee33f2bb..08c52c3ab9c20c78afe7642587cc6924fb30e762 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -67,6 +67,9 @@ config("icu_code") {
# complain about it.
"-Wno-deprecated-declarations",
"-Wno-unused-function",
+
+ # fread is used in putil.cpp without checking the return value.
+ "-Wno-unused-result",
]
}
if (is_clang) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698