Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d26a04a1 authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

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
parent a4ffbdbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment