commit | d26a04a1d8fb357b19f3f4f4c7ee6e0796a83040 | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Wed Oct 30 17:15:15 2019 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Wed Oct 30 17:15:15 2019 +0900 |
tree | 2cd11bc67298c80ec101d2bf9ff58f101724d54b | |
parent | a4ffbdbfa8404f603fd1dde21a0d960abd1cdfeb [diff] |
Fix harmless -Wconditional-uninitialized warnings in binder_test This pedantic warning kicked in because the ASSERT() macros could return from fakeRemoteSocketPair() without initializing all three arguments. Clang is not sufficiently smart to see this. So let's switch to unique_fd, which also results in slightly simpler code... Change-Id: I0c48ed4db7a3e808cd33b2a43a064871e3cdabeb