X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftimer.c;h=f67aac4d0b36a3ac313d46464f2a9750b6ba5fec;hb=6484593b6a992275daf026746cda53ddf38ef155;hp=56fc4635a312211a8772330fcfec7c57816e407e;hpb=19d449f1419229a864f9e9e6c54ef03780866027;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/timer.c b/src/bin/lttng-sessiond/timer.c index 56fc4635a..f67aac4d0 100644 --- a/src/bin/lttng-sessiond/timer.c +++ b/src/bin/lttng-sessiond/timer.c @@ -144,7 +144,7 @@ int timer_start(timer_t *timer_id, struct ltt_session *session, unsigned int timer_interval_us, int signal, bool one_shot) { int ret = 0, delete_ret; - struct sigevent sev; + struct sigevent sev = {}; struct itimerspec its; sev.sigev_notify = SIGEV_SIGNAL;