Merge "adb: fix a fake data race on transport:kick reported by tsan."
This commit is contained in:
commit
f306812303
|
@ -43,7 +43,7 @@ ADB_MUTEX_DEFINE( transport_lock );
|
|||
|
||||
void kick_transport(atransport* t)
|
||||
{
|
||||
if (t && !t->kicked)
|
||||
if (t != nullptr)
|
||||
{
|
||||
int kicked;
|
||||
|
||||
|
|
Loading…
Reference in New Issue