From: Ruben Kerkhof Date: Sat, 16 Apr 2016 11:49:01 +0000 (+0200) Subject: tail_csv plugin: set pointer to NULL not 0 X-Git-Tag: collectd-5.6.0~343 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dd81ee8b3c4d50c27e49995db5618c429d073e2c;p=collectd.git tail_csv plugin: set pointer to NULL not 0 Found with coccinelle --- 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);