commit | b5eb2a894b0420292be62524947c2220080485cf | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Fri Sep 06 10:22:33 2019 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Fri Sep 06 10:29:26 2019 -0700 |
tree | bd05633a03e3e2b660c33e6dcf1dfb37f1d5d1cc | |
parent | 148657802fad663dc8cc707e43e3df267d9167c5 [diff] |
Initialize return code to 0 If there is a handle in the wait list, but there is not an event, _hlist_do_poll_locked will return an uninitialized ret variable. This patch sets the default return code to 0, for no event. Bug: 140626835 Change-Id: Ib42160c8456b880b3253533a0a7266a180b36d34