Fix: use of uninitialized ret value in lttng_abi_create_event
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 Apr 2016 12:05:42 +0000 (08:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 Apr 2016 12:06:40 +0000 (08:06 -0400)
commitada2ea9b1894647b0104476c9b47b288950217d4
tree909bf222ecedf495708fa55068c9bbc7576424f8
parent675f8988f3e11be1da90a769633b1dab0d3d4929
Fix: use of uninitialized ret value in lttng_abi_create_event

Fixes the following compiler warning:

/home/jenkins/workspace/lttng-modules_VERSION_param-build/arch/x86-32/src/lttng-modules/lttng-abi.c: In function ‘lttng_abi_create_event’:
/home/jenkins/workspace/lttng-modules_VERSION_param-build/arch/x86-32/src/lttng-modules/lttng-abi.c:987:16: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  int event_fd, ret;

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-abi.c
This page took 0.026055 seconds and 4 git commands to generate.