commit | 5767c359bac779b5d76d668ca5699fd5a0e3efc5 | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Tue Mar 22 16:30:27 2016 -0700 |
committer | Yang Ni <yangni@google.com> | Wed Mar 23 08:51:39 2016 -0700 |
tree | 130ac3c796eb5e515015cb12468f01d3a0dc5459 | |
parent | 9ca594530f29b3a7965df6b8795785eb7a486b59 [diff] |
Initialize temp var for a return value Bug: 27698337 This is the temporary variable introduced for the expression used in a return statement. We use rsSetObject() to set the value of the temporary variable to the original expression from the return statement, and to bump up the sysRefCount of the temp. However, to have rsSetObject() work properly, the temp has to be zero initialized. Change-Id: I0efb83fc7d54e95bb4d7a956f3f82b6d85188390