Skip to content
Commit e02e9cd2 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

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: default avatarMaciej Żenczykowski <maze@google.com>
Change-Id: I6cf0295878c7b34cedfe3ae44ff7410ef419f8b9
parent d35c66f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment