1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

csv: ignore offset field

This commit is contained in:
Steffen Vogel 2018-12-04 10:46:16 +01:00
parent 772003983d
commit b393815916

View file

@ -96,11 +96,13 @@ static size_t csv_sscan_single(struct io *io, const char *buf, size_t len, struc
smp->flags |= SAMPLE_HAS_TS_ORIGIN;
#if 0
double offset __attribute__((unused)) = strtof(ptr, &end);
if (end == ptr || *end == io->delimiter)
goto out;
ptr = end + 1;
#endif
smp->sequence = strtoul(ptr, &end, 10);
if (end == ptr || *end == io->delimiter)