Commit 267aeeb8 authored by isherman's avatar isherman Committed by Commit bot

[Clean-up] Remove unnecessary default: NOTREACHED() case.

The (clang) compiler is smart enough to catch this error at compile-time, which
is better than waiting until runtime.

BUG=none
TEST=none
R=keybuk@chromium.org

Review URL: https://codereview.chromium.org/575343002

Cr-Commit-Position: refs/heads/master@{#297060}
parent 282ba301
...@@ -140,8 +140,6 @@ void BluetoothApiSocket::OnSocketReceiveError( ...@@ -140,8 +140,6 @@ void BluetoothApiSocket::OnSocketReceiveError(
case device::BluetoothSocket::kSystemError: case device::BluetoothSocket::kSystemError:
error_reason = BluetoothApiSocket::kSystemError; error_reason = BluetoothApiSocket::kSystemError;
break; break;
default:
NOTREACHED();
} }
error_callback.Run(error_reason, message); error_callback.Run(error_reason, message);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment