commit | 8e64d33ad53d1b84851c8c7da618e1e4148f53bd | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Sun Jun 27 02:41:59 2021 -0700 |
committer | Max Bires <jbires@google.com> | Sun Jun 27 02:47:55 2021 -0700 |
tree | d14c14a770bd661fecaa1cb990c3919fdf4238fe | |
parent | a7b61e5ff3cced698dc02e7d0b7962c1b7e356d5 [diff] |
Default initializing error_code_ to 0. In some environments and some c++ edge cases, an integer is not default initialized to 0 if not assigned. In Trusty it was consistently initializing to 01{16}. This causes problems when the isOk() call checks to see if the error code is still 0. Fixes: 192168662 Test: atest VtsHalRemotelyProvisionedComponentTargetTest Change-Id: If69cfe94346e16ac4fc36293729084968a3aaf7f