summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 18:47:20 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 18:47:20 +0000
commit4159e7f4840e961b69e4f9438a5858d0b3fe6e63 (patch)
tree014e23d7e937a99e6e9d98ca005622f8dfbe9935 /device
parent2cc986c47746f59aad961b0791fd1620ff599d70 (diff)
downloadchromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.zip
chromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.tar.gz
chromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.tar.bz2
mac: Prepare for -Wunused-functions.
Mostly involves deleting hundreds of lines of unused code. BUG=315884 R=akalin@chromium.org, brettw@chromium.org, fischman@chromium.org, jamesr@chromium.org, sky@chromium.org, thestig@chromium.org TBR=piman, youngki Review URL: https://codereview.chromium.org/63153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_adapter_factory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_adapter_factory.cc b/device/bluetooth/bluetooth_adapter_factory.cc
index 262c95b..c15d26a 100644
--- a/device/bluetooth/bluetooth_adapter_factory.cc
+++ b/device/bluetooth/bluetooth_adapter_factory.cc
@@ -42,6 +42,7 @@ typedef std::vector<BluetoothAdapterFactory::AdapterCallback>
base::LazyInstance<AdapterCallbackList> adapter_callbacks =
LAZY_INSTANCE_INITIALIZER;
+#if defined(OS_WIN)
void RunAdapterCallbacks() {
CHECK(default_adapter.Get().get());
scoped_refptr<BluetoothAdapter> adapter(default_adapter.Get().get());
@@ -53,6 +54,7 @@ void RunAdapterCallbacks() {
}
adapter_callbacks.Get().clear();
}
+#endif // defined(OS_WIN)
} // namespace