Merge "Fix implicit-fallthrough warnings."

This commit is contained in:
Chih-hung Hsieh
2018-10-22 20:36:53 +00:00
committed by Gerrit Code Review

View File

@@ -215,7 +215,7 @@ bool isValid(const ProgramIdentifier& id) {
break;
case IdentifierType::DAB_FREQUENCY:
expect(val > 100000u, "f > 100MHz");
// fallthrough
[[fallthrough]];
case IdentifierType::AMFM_FREQUENCY:
case IdentifierType::DRMO_FREQUENCY:
expect(val > 100u, "f > 100kHz");