commit | e02e9cd2014dfc5947b6e5513730188756b4fd50 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Mon Dec 30 07:54:22 2019 -0800 |
committer | Maciej Żenczykowski <maze@google.com> | Mon Dec 30 20:49:36 2019 +0000 |
tree | ed1231d5d34fa9896c70bd2eb2540bbc6ffa0ec4 | |
parent | d35c66f1728e599f2fdaf2e8d1ec54a0e02ff8ea [diff] |
convert 'Stats stats; memset(&stats, 0, sizeof(Stats));' to 'Stats stats = {};' Not only is it more concise, but it's also just a tad more correct: since it really should have been 'sizeof(stats)' not 'sizeof(Stats)'. Test: builds, atest Bug: 146787904 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I6cf0295878c7b34cedfe3ae44ff7410ef419f8b9