diff options
| author | Yabin Cui <yabinc@google.com> | 2015-08-11 13:40:42 -0700 |
|---|---|---|
| committer | Yabin Cui <yabinc@google.com> | 2015-08-11 14:00:15 -0700 |
| commit | 661327e8e40f95076e0e8abe86193da16b061bd8 (patch) | |
| tree | 5aba1378141ee7d0ece252ac23af2dc16d6f06f5 /base/errors_unix.cpp | |
| parent | f71590ffbc5b611a7c45fcddc7db3c1915fe3cd5 (diff) | |
Remove confusing variable HOST.
First, HOST is always 0 in adbd, which matches ADB_HOST=0.
Second, HOST is always 1 when adb_main is called, which matches ADB_HOST=1.
For adb client that doesn't call adb_main, it never touches local_init(),
init_transport_registration() and fdevent_loop(). So the changes in adb.cpp,
services.cpp and transport_local.cpp do nothing with it.
As a conclusion, I think we can remove HOST and use ADB_HOST instead.
Change-Id: Ide0e0eca7468b6c3c130f6b50974406280678b2e
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
