Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
[Clean-up] Remove unnecessary default: NOTREACHED() case.
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
ishermandom authored and Commit bot committed Sep 26, 2014
1 parent 282ba30 commit 267aeeb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ void BluetoothApiSocket::OnSocketReceiveError(
case device::BluetoothSocket::kSystemError:
error_reason = BluetoothApiSocket::kSystemError;
break;
default:
NOTREACHED();
}
error_callback.Run(error_reason, message);
}
Expand Down

0 comments on commit 267aeeb

Please sign in to comment.