diff options
author | Josh Gao <jmgao@google.com> | 2018-08-02 13:58:24 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-08-02 14:51:05 -0700 |
commit | 3b4de3c3553af8f114375e04ef116e1c98f1760b (patch) | |
tree | e9c0293bc7cf610c67b23435562ae19f101d114f /libutils/Unicode.cpp | |
parent | ddcee93c0138fc68dbc6320962a53cd4761ab94b (diff) |
adb: delete hellish hodgepodge.
This code was unreachable, since all of the callers were calling
register_socket_transport with foo.c_str() as the serial. Lift this
assumption into the type system by switching from char* to std::string
for the argument type.
Bug: http://b/112147760
Bug: https://www.viva64.com/en/b/0579/
Test: mma
Change-Id: I5a6ee265feee6b83bc933a64d895eed39fce68e7
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions