summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-07-27 13:33:15 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2016-07-28 17:32:42 +0000
commit5c6bb1d8f89b87e782e26fe74789b6f510704394 (patch)
tree9c177ad062ca0a25ea872e369d7e43fbd46afbed /scripts/update_payload/format_utils.py
parent87792ea818a63f2d246bbba2b7429b85ee8d669f (diff)
Fix clang-tidy performance warnings in update_engine.
* Use const reference type for parameters, local variables, and for-loop index variables to avoid unnecessary copy. * Convert some for-loops to for-rang loops. Bug: 30407689 Bug: 30413223 Bug: 30413862 Change-Id: I78996b3f799639fc57ced45e110807625be7dcce Test: build with WITH_TIDY=1
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions