Commit 8e333cbe authored by Carlos Llamas's avatar Carlos Llamas
Browse files

max77729_charger: fix implicit fall-through error



Fixes the following -Wimplicit-fallthrough error:

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

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