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:
parent
772003983d
commit
b393815916
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue