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

Unified Diff: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc

Issue 575343002: [Clean-up] Remove unnecessary default: NOTREACHED() case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc
index 8dbde0e2bb7ae8b456a7304545de59d46f867e74..097339c958565565e15bf73b33e5a9a8a9ef0f80 100644
--- a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc
@@ -139,8 +139,6 @@ void BluetoothApiSocket::OnSocketReceiveError(
case device::BluetoothSocket::kSystemError:
error_reason = BluetoothApiSocket::kSystemError;
break;
- default:
- NOTREACHED();
}
error_callback.Run(error_reason, message);
}
« 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