Commit e7620aa6 authored by Carlos Llamas's avatar Carlos Llamas
Browse files

google_cpm: fix implicit fall-through errors



Fixes several -Wimplicit-fallthrough errors similar to the following:

  bms/google_cpm.c:465:2:
  error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
        case DC_ENABLE:
        ^
  bms/google_cpm.c:465:2:
  note: insert '__attribute__((fallthrough));' to silence this warning
        case DC_ENABLE:
        ^
        __attribute__((fallthrough));
  bms/google_cpm.c:465:2:
  note: insert 'break;' to avoid fall-through
        case DC_ENABLE:
        ^
        break;

Bug: 215617713
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Change-Id: I622ac02de9bfacf7cffc716c3aef12dd4780159d
parent 906e3742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment