Merge topic 'TestDriver-time.h-lint' into release-3.21
0bb3d457cb
TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage32ff836e2a
TestDriver: suppress deprecated header lints for time.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6352
This commit is contained in:
commit
9484e43731
@ -2,7 +2,7 @@
|
||||
#include <stdio.h> /* NOLINT */
|
||||
#include <stdlib.h> /* NOLINT */
|
||||
#include <string.h> /* NOLINT */
|
||||
#include <time.h>
|
||||
#include <time.h> /* NOLINT */
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable : 4996) /* deprecation */
|
||||
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user