Commit 8bcf4e70 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Fix -Wimplicit-fallthrough warnings for Chrome OS.

This CL was uploaded by git cl split.

R=alemate@chromium.org

Bug: 177475
Change-Id: I4b73b5ce51090fb9e2dd40adcf4117c95ee5a37a
Reviewed-on: https://chromium-review.googlesource.com/899448Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534487}
parent 4525e183
...@@ -836,6 +836,7 @@ void CryptohomeAuthenticator::Resolve() { ...@@ -836,6 +836,7 @@ void CryptohomeAuthenticator::Resolve() {
break; break;
case CREATE_NEW: case CREATE_NEW:
create_if_nonexistent = true; create_if_nonexistent = true;
FALLTHROUGH;
case RECOVER_MOUNT: case RECOVER_MOUNT:
current_state_->ResetCryptohomeStatus(); current_state_->ResetCryptohomeStatus();
StartMount(current_state_->AsWeakPtr(), StartMount(current_state_->AsWeakPtr(),
...@@ -854,10 +855,10 @@ void CryptohomeAuthenticator::Resolve() { ...@@ -854,10 +855,10 @@ void CryptohomeAuthenticator::Resolve() {
break; break;
case OFFLINE_LOGIN: case OFFLINE_LOGIN:
VLOG(2) << "Offline login"; VLOG(2) << "Offline login";
// Fall through. FALLTHROUGH;
case UNLOCK: case UNLOCK:
VLOG(2) << "Unlock"; VLOG(2) << "Unlock";
// Fall through. FALLTHROUGH;
case ONLINE_LOGIN: case ONLINE_LOGIN:
VLOG(2) << "Online login"; VLOG(2) << "Online login";
task_runner_->PostTask( task_runner_->PostTask(
......
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