commit | 19d5c00350893a2c9408d8d5a93d1d705b278562 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Fri Jul 20 13:39:55 2018 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Aug 02 14:14:35 2018 -0700 |
tree | 26818a9962e8ab05f532a77e3ab6f284572baa51 | |
parent | 519485d161e1cdcb11a1898b065710a5d9239cb5 [diff] [blame] |
[cmds] Modernize codebase by replacing NULL with nullptr Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I1635395d653ace5a11c75795f4a7d2bf2d9e0b1b Merged-In: 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(); }