Commit b1de8b7c authored by Nico Weber's avatar Nico Weber

Work on getting things built with -Wimplicit-fallthrough. This CL was uploaded by git cl split.

Bug: 177475
R=rogerm@chromium.org

Change-Id: I4c5c56af1d9ed85a4df6ec9651a189d232180036
Reviewed-on: https://chromium-review.googlesource.com/889761Reviewed-by: default avatarRoger McFarlane <rogerm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532991}
parent 3fdde8b7
......@@ -121,6 +121,7 @@ void RankerModelLoaderImpl::NotifyOfRankerActivity() {
// There was no configured model path. Switch the state to IDLE and
// fall through to consider the URL.
state_ = LoaderState::IDLE;
FALLTHROUGH;
case LoaderState::IDLE:
if (model_url_.is_valid()) {
StartLoadFromURL();
......@@ -129,6 +130,7 @@ void RankerModelLoaderImpl::NotifyOfRankerActivity() {
// There was no configured model URL. Switch the state to FINISHED and
// fall through.
state_ = LoaderState::FINISHED;
FALLTHROUGH;
case LoaderState::FINISHED:
case LoaderState::LOADING_FROM_FILE:
case LoaderState::LOADING_FROM_URL:
......
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