diff options
| author | Yifan Hong <elsk@google.com> | 2019-09-24 18:58:00 -0700 |
|---|---|---|
| committer | Yifan Hong <elsk@google.com> | 2019-09-25 15:20:50 -0700 |
| commit | 332fbfb044fdde82f50fadea4ae4f032ecc6e6ef (patch) | |
| tree | d50aa2aee0a20525591f24804e97b31bba2a2ec4 /code_coverage/empty_policy/code_coverage.arm.policy | |
| parent | f01dca38640ee016a5daf564a5bdd357b44c0eb7 (diff) | |
libsnapshot: refactor CreateUpdateSnapshots
This function is too big. Refactor it a bit.
- Reorder checks / variable initializations a bit.
They are independent of each other, so they can be
safely reordered.
- Put snapshot creation and initialization to their own
functions so that CreateUpdateSnapshots looks shorter.
Test: libsnapshot_test
Change-Id: I135b415d8e046dd91d31326fe7962ae44be4ccf8
Diffstat (limited to 'code_coverage/empty_policy/code_coverage.arm.policy')
0 files changed, 0 insertions, 0 deletions
