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

Unified Diff: webrtc/base/network.cc

Issue 1552863002: Fix a -Wunused-function warning in gn builds. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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: webrtc/base/network.cc
diff --git a/webrtc/base/network.cc b/webrtc/base/network.cc
index 1f413b39d890f3173d9b37ed12cb83cebf645a09..488c475137a2ee8d7ddbea1fa2ace59175cc3f36 100644
--- a/webrtc/base/network.cc
+++ b/webrtc/base/network.cc
@@ -119,6 +119,7 @@ std::string AdapterTypeToString(AdapterType type) {
}
}
+#if !defined(__native_client__)
bool IsIgnoredIPv6(const InterfaceAddress& ip) {
if (ip.family() != AF_INET6) {
return false;
@@ -143,6 +144,7 @@ bool IsIgnoredIPv6(const InterfaceAddress& ip) {
return false;
}
+#endif // !defined(__native_client__)
} // namespace
« 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