commit | 370408e8d796adabaa84e4e2d488d529f9f1b38f | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Jun 21 15:45:26 2024 -0700 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Jul 03 17:34:25 2024 +0000 |
tree | 6a0db98b2bff2067a142a39edb71b9ca03abb45c | |
parent | 79887b432800ba1907b38b33776b86cd76655d27 [diff] [blame] |
Binder: enable/fix some warnings Bug: 341997808 Test: mma Change-Id: Ibd44eda768a714e85399a15f3c8e534d715f87ce Merged-In: Ibd44eda768a714e85399a15f3c8e534d715f87ce
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index 94f947f..984c93d 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp
@@ -285,7 +285,9 @@ return cmd; } +LIBBINDER_IGNORE("-Wzero-as-null-pointer-constant") static pthread_mutex_t gTLSMutex = PTHREAD_MUTEX_INITIALIZER; +LIBBINDER_IGNORE_END() static std::atomic<bool> gHaveTLS(false); static pthread_key_t gTLS = 0; static std::atomic<bool> gShutdown = false;