X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftimer.c;h=f6c545c9d0117b21eaf73e1b778fbc1d79a7871e;hb=54b393a43bf05fc453c609a8c3532250733e3759;hp=c65df5c2dc132706b1a6335e0d73ecff10eabf00;hpb=ca47cc293951e4dcd5e0930230a28eb767f51fdf;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/timer.c b/src/bin/lttng-sessiond/timer.c index c65df5c2d..f6c545c9d 100644 --- a/src/bin/lttng-sessiond/timer.c +++ b/src/bin/lttng-sessiond/timer.c @@ -154,7 +154,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;