diff options
Diffstat (limited to 'database/rrddim.c')
-rw-r--r-- | database/rrddim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/database/rrddim.c b/database/rrddim.c index 09f364b02..019ca34a1 100644 --- a/database/rrddim.c +++ b/database/rrddim.c @@ -118,11 +118,12 @@ static void rrddim_query_init(RRDDIM *rd, struct rrddim_query_handle *handle, ti handle->slotted.finished = 0; } -static storage_number rrddim_query_next_metric(struct rrddim_query_handle *handle) { +static storage_number rrddim_query_next_metric(struct rrddim_query_handle *handle, time_t *current_time) { RRDDIM *rd = handle->rd; long entries = rd->rrdset->entries; long slot = handle->slotted.slot; + (void)current_time; if (unlikely(handle->slotted.slot == handle->slotted.last_slot)) handle->slotted.finished = 1; storage_number n = rd->values[slot++]; |