summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7178c51)
raw | patch | inline | side by side (parent: 7178c51)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 16 Apr 2016 11:49:01 +0000 (13:49 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 16 Apr 2016 11:59:31 +0000 (13:59 +0200) |
Found with coccinelle
src/tail_csv.c | patch | blob | history |
diff --git a/src/tail_csv.c b/src/tail_csv.c
index 2d794fc7880fccf310ce4e44b6179937b7657599..a768ef81da850b721a4297709deb4e30500c6358 100644 (file)
--- a/src/tail_csv.c
+++ b/src/tail_csv.c
static cdtime_t parse_time (char const *tbuf)
{
double t;
- char *endptr = 0;
+ char *endptr = NULL;
errno = 0;
t = strtod (tbuf, &endptr);