Try to init ticks

This commit is contained in:
Quentin Dufour 2019-04-02 11:38:02 +02:00
parent 52758f0e61
commit 5c797b253d

View file

@ -89,7 +89,7 @@ void free_timer_conf(void* v) {
int on_timer(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) {
ssize_t s;
uint64_t ticks;
uint64_t ticks = 0;
struct measure_conf* mc = fdinfo->other;
s = read(fdinfo->fd, &ticks, sizeof(uint64_t));