Merge "Fix implicit-fallthrough warnings."
authorChih-hung Hsieh <chh@google.com>
Mon, 22 Oct 2018 20:36:53 +0000 (20:36 +0000)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Mon, 22 Oct 2018 20:36:53 +0000 (20:36 +0000)
broadcastradio/common/utils2x/Utils.cpp

index 3e20b357f624438d9f152788cf1e0466da6f831d..f292c0855fbbe40860499a75e1e979746cbbe8f1 100644 (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");