From: José Bollo Date: Wed, 6 Apr 2016 15:28:37 +0000 (+0200) Subject: fix uninitialized field (valgrind) X-Git-Tag: blowfish_2.0.1~213 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=ee28f046a7d389a4de305297abb065a9fddfb928;p=src%2Fapp-framework-binder.git fix uninitialized field (valgrind) Change-Id: I2df2a37335e68e90836205b44a563fed5dface75 Signed-off-by: José Bollo --- diff --git a/src/afb-apis.c b/src/afb-apis.c index 9dcb1809..9b2df3f3 100644 --- a/src/afb-apis.c +++ b/src/afb-apis.c @@ -311,6 +311,7 @@ static void trapping_handle(struct afb_req req, void(*cb)(struct afb_req)) timerset = 1; /* TODO: check statuses */ sevp.sigev_notify = SIGEV_THREAD_ID; sevp.sigev_signo = SIGALRM; + sevp.sigev_value.sival_ptr = NULL; #if defined(sigev_notify_thread_id) sevp.sigev_notify_thread_id = (pid_t)syscall(SYS_gettid); #else