diff options
author | Manoj Gupta <manojgupta@google.com> | 2019-11-04 17:17:39 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-05 15:51:53 +0000 |
commit | 6a703f5b0edfdbf2eee72d59499f73585262a46f (patch) | |
tree | 1c455c3a6d4c1040717a8722fe34860447357adc /host | |
parent | 0230c900bcfe6c6a61b66914951e5f01fa2311c6 (diff) | |
download | vboot-6a703f5b0edfdbf2eee72d59499f73585262a46f.tar.gz |
Clean up implicit fall through.
Directly use the __attribute__ ((fallthrough)) instead of
a macro.
This was suggested in CL:1772474.
BUG=chromium:997709
TEST=CQ
BRANCH=None
Change-Id: Ic6cd417d7c735395a4b136dbb0879a6f1716da98
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1897360
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/crossystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c index 3a418939..1bad2cfb 100644 --- a/host/lib/crossystem.c +++ b/host/lib/crossystem.c @@ -409,7 +409,7 @@ static int GetVdatInt(VdatIntField field) break; case VDAT_INT_FW_BOOT2: value = (sh->flags & VBSD_BOOT_FIRMWARE_VBOOT2 ? 1 : 0); - VBOOT_FALLTHROUGH; + __attribute__ ((fallthrough)); default: break; } |