commit | c67f9a4cf0d7894f7b49f70806ac323630ba178e | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Fri Jul 20 13:39:55 2018 -0700 |
committer | Yi Kong <yikong@google.com> | Fri Jul 20 15:37:19 2018 -0700 |
tree | 3559ef658988a3eb6e14442dd38ed56390b7b355 | |
parent | 2d38d8e7fe9b4edf8f8d8f62780b44e405ae1cf0 [diff] [blame] |
[cmds] Modernize codebase by replacing NULL with nullptr Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I73a0a82e3e32001f8ffb0880250c7023dd8290d3
diff --git a/cmds/surfacereplayer/replayer/Main.cpp b/cmds/surfacereplayer/replayer/Main.cpp index 7090bdb..fbfcacf 100644 --- a/cmds/surfacereplayer/replayer/Main.cpp +++ b/cmds/surfacereplayer/replayer/Main.cpp
@@ -94,7 +94,7 @@ } char** input = argv + optind; - if (input[0] == NULL) { + if (input[0] == nullptr) { std::cerr << "No trace file provided...exiting" << std::endl; abort(); }