Skip to content
Snippets Groups Projects
Commit 9484e437 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'TestDriver-time.h-lint' into release-3.21


0bb3d457 TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage
32ff836e TestDriver: suppress deprecated header lints for time.h

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6352
parents 6004b997 0bb3d457
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment