Enable -Wunused-function warning everywhere.
BUG=webrtc:5397
NOTRY=True
Change-Id: If4b7e8942315135f1f1b919bdefd2fd1d9be67e7
Reviewed-on: https://chromium-review.googlesource.com/544996
Reviewed-by: Oleh Prypin <oprypin@chromium.org>
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18861}
diff --git a/webrtc/media/BUILD.gn b/webrtc/media/BUILD.gn
index 11a1aa3..c9055c8 100644
--- a/webrtc/media/BUILD.gn
+++ b/webrtc/media/BUILD.gn
@@ -386,7 +386,6 @@
# See https://bugs.chromium.org/p/webrtc/issues/detail?id=6266
# for -Wno-sign-compare
"-Wno-sign-compare",
- "-Wno-unused-function",
]
}
if (!is_win) {
diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn
index 5190a93..3bbaa57 100644
--- a/webrtc/pc/BUILD.gn
+++ b/webrtc/pc/BUILD.gn
@@ -351,7 +351,6 @@
# See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267
# for -Wno-sign-compare
"-Wno-sign-compare",
- "-Wno-unused-function",
]
}