commit | fdd8da9e3f79be25b91293e22114c177c3b3fd8d | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Jun 07 17:52:27 2018 -0700 |
committer | Yi Kong <yikong@google.com> | Thu Jun 07 17:54:21 2018 -0700 |
tree | cbc9fea00e9b67d631bde2bbb70de5b151dfcadc | |
parent | a160f5a70ffba3715c8a92f4f469922d59635356 [diff] [blame] |
[binder] Replace NULL/0 with nullptr Fixes -Wzero-as-null-pointer-constant warning. clang-tidy -checks=modernize-use-nullptr -p compile_commands.json -fix ... Test: m Bug: 68236239 Change-Id: I3181bc5683796423a98b0f9b94daf30880c07bdc Merged-In: I3181bc5683796423a98b0f9b94daf30880c07bdc (cherry picked from commit 91635563b8a1bf7a31e4ceb439728dacb79abd76)
diff --git a/libs/binder/tests/schd-dbg.cpp b/libs/binder/tests/schd-dbg.cpp index 13f03b1..6cf7f36 100644 --- a/libs/binder/tests/schd-dbg.cpp +++ b/libs/binder/tests/schd-dbg.cpp
@@ -295,7 +295,7 @@ no_inherent += reply.readInt32(); no_sync += reply.readInt32(); - return 0; + return nullptr; } // create a fifo thread to transact and wait it to finished