Rely on compiler to zero out structs.
Before, we were relying on having contiguous structs and remembering
to manually zero-out fields. Alleviate all concerns by using C99
designator initializers. These are technically not slated to be added
to the C++ standard until C++20. However, because they are in C99, and
they are awesome, they are commonly used in Android.
(cherry picked from commit 16786a76b2c736791f2c364a1bce7632e112e93e)
1 file changed