From dd81ee8b3c4d50c27e49995db5618c429d073e2c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 16 Apr 2016 13:49:01 +0200 Subject: [PATCH] tail_csv plugin: set pointer to NULL not 0 Found with coccinelle --- src/tail_csv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tail_csv.c b/src/tail_csv.c index 2d794fc7..a768ef81 100644 --- a/src/tail_csv.c +++ b/src/tail_csv.c @@ -85,7 +85,7 @@ static int tcsv_submit (instance_definition_t *id, static cdtime_t parse_time (char const *tbuf) { double t; - char *endptr = 0; + char *endptr = NULL; errno = 0; t = strtod (tbuf, &endptr); -- 2.11.0