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

Unified Diff: device/bluetooth/bluetooth_adapter_factory.cc

Issue 203043002: Fix "unreachable code" warnings (MSVC warning 4702), misc. edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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
Index: device/bluetooth/bluetooth_adapter_factory.cc
===================================================================
--- device/bluetooth/bluetooth_adapter_factory.cc (revision 256983)
+++ device/bluetooth/bluetooth_adapter_factory.cc (working copy)
@@ -62,14 +62,13 @@
// static
bool BluetoothAdapterFactory::IsBluetoothAdapterAvailable() {
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) || defined(OS_WIN)
return true;
-#elif defined(OS_WIN)
- return true;
#elif defined(OS_MACOSX)
return base::mac::IsOSLionOrLater();
+#else
+ return false;
#endif
- return false;
}
// static

Powered by Google App Engine
This is Rietveld 408576698