Found by Coverity:
** CID
1476253: Uninitialized variables (UNINIT)
/src/lttng-syscalls.c: 1057 in lttng_syscall_filter_enable_event()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ie49ef12681efaf7613501a2208cad26951177edd
struct lttng_kernel_syscall_table *syscall_table = get_syscall_table_from_event(event);
unsigned int syscall_id = event->priv->u.syscall.syscall_id;
struct hlist_head *dispatch_list;
- int ret;
+ int ret = 0;
WARN_ON_ONCE(event->priv->instrumentation != LTTNG_KERNEL_ABI_SYSCALL);