diff options
author | Julius Werner <jwerner@chromium.org> | 2019-05-07 12:56:19 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-10 10:43:55 -0700 |
commit | dac763c782ce05476dec02e855f349d2b6f3a910 (patch) | |
tree | 71c6d4a72c811430782f8b293954a51d511d056a /utility | |
parent | ad546b47f698ef1bd4ec26cbd157334f61b50958 (diff) | |
download | vboot-dac763c782ce05476dec02e855f349d2b6f3a910.tar.gz |
Make vboot -Wtype-limits compliantstabilize-12202.B
-Wtype-limits is an additional warning we're trying to enable in
coreboot that catches common coding mistakes (e.g. checking whether an
unsigned variable is < 0). vboot almost works with this out of the box,
but there's one instance where we want such a check (because the
constant it's checking may change). This patch pragma's it out so that
we can still build with the new warning.
BRANCH=None
BUG=chromium:960270
TEST=make runtests
Change-Id: I678a5915c99451b7e0a2672efb5ae6c81ebfb027
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1598720
Commit-Ready: Joel Kitching <kitching@chromium.org>
Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'utility')
0 files changed, 0 insertions, 0 deletions