Commit eb7e5074 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=pfeldman@chromium.org

Change-Id: I8f9cf8c5f1c07eec6c9571b1c1e25d39b7e0f93a
Reviewed-on: https://chromium-review.googlesource.com/889843Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532112}
parent 46774a6a
...@@ -687,7 +687,7 @@ String DateComponents::ToStringForTime(SecondFormat format) const { ...@@ -687,7 +687,7 @@ String DateComponents::ToStringForTime(SecondFormat format) const {
switch (effective_format) { switch (effective_format) {
default: default:
NOTREACHED(); NOTREACHED();
// Fallback to None. FALLTHROUGH;
case kNone: case kNone:
return String::Format("%02d:%02d", hour_, minute_); return String::Format("%02d:%02d", hour_, minute_);
case kSecond: case kSecond:
......
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