summaryrefslogtreecommitdiff
path: root/test/body_detection.tasklist
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-09-21 23:33:00 +0000
committerCommit Bot <commit-bot@chromium.org>2021-09-28 16:50:00 +0000
commitb95efb8c5013d629201ff01646c4eebb7144c31d (patch)
tree4e933a0e9a81e187f7056686b8653c7d9fe32f0a /test/body_detection.tasklist
parent16c1d44caebe58dbd4af36b603a0c929764873a9 (diff)
downloadchrome-ec-b95efb8c5013d629201ff01646c4eebb7144c31d.tar.gz
test/rollback_entropy: Add __maybe_unused to arrays
Clang warns that "_EXPECTED_SECRET is not needed and will not be emitted". The same warning occurs for _EXPECTED_SECRET2, and _EXPECTED_UNINITIALIZED_ROLLBACK_SECRET. While this is true, we still want the BUILD_ASSERT() evaluated at compile time, so mark it as "__maybe_unused" to suppress the warning. BRANCH=none BUG=b:172020503 TEST=make buildall -j TEST=make BOARD=dartmonkey tests -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I6ab0f4070654e74c1c8ef5d1ba7b125d490633f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3174597 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'test/body_detection.tasklist')
0 files changed, 0 insertions, 0 deletions