diff options
Diffstat (limited to 'extensions/browser')
-rw-r--r-- | extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc index 9bee22d..c1a400463 100644 --- a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc +++ b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc @@ -129,7 +129,8 @@ void BluetoothApiSocket::OnSocketReceiveError( device::BluetoothSocket::ErrorReason reason, const std::string& message) { DCHECK_CURRENTLY_ON(kThreadId); - BluetoothApiSocket::ErrorReason error_reason; + BluetoothApiSocket::ErrorReason error_reason = + BluetoothApiSocket::kSystemError; switch (reason) { case device::BluetoothSocket::kIOPending: error_reason = BluetoothApiSocket::kIOPending; |