summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-05-17 12:24:55 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-17 18:36:50 -0700
commit2bca3d876c9ebaf8e682b377b0b66366d97a6807 (patch)
tree29e0f1fd3beca93c3a8284e79eebf48095093148 /scripts
parent6c06245fb820807ec8c91014ca537df9a86d58d5 (diff)
downloadvboot-2bca3d876c9ebaf8e682b377b0b66366d97a6807.tar.gz
vboot: standardize on vb2_context identifiers in tests
Use `ctx` for global vb2_context variable, and `c` for argument to functions. This avoids shadowing the `ctx` identifier, which was recently disallowed by enabling -Wshadow in CL:1598721. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I9db97fd4945694e6f54abc5b0c04ed5533789300 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/1616872 Commit-Ready: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Youcheng Syu <youcheng@chromium.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions