summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-07-14 23:53:54 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-07-14 23:53:54 (GMT)
commit0bb3d457cbc57246c32a4d51d55390c40396043e (patch)
tree358bc7ef03a5febb5cb81eed5adabaef894faf3e /Templates
parent32ff836e2adcfefd9ff8f7bd24d20da30c42c62f (diff)
downloadCMake-0bb3d457cbc57246c32a4d51d55390c40396043e.zip
CMake-0bb3d457cbc57246c32a4d51d55390c40396043e.tar.gz
CMake-0bb3d457cbc57246c32a4d51d55390c40396043e.tar.bz2
TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage
Diffstat (limited to 'Templates')
-rw-r--r--Templates/TestDriver.cxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index 845f799..6ced800 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -122,7 +122,7 @@ int main(int ac, char* av[])
if (run_all == 1) {
clock_t t;
int status = 0;
- const char* status_message = NULL;
+ const char* status_message = CM_NULL;
printf("TAP version 13\n");
printf("1..%d\n", NumTests);
for (i = 0; i < NumTests; ++i) {