Fix: use of uninitialized ret value in lttng_abi_open_metadata_stream
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 8 Mar 2017 19:32:31 +0000 (14:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 8 Mar 2017 19:38:04 +0000 (14:38 -0500)
commit755d8a6f1fc1a00d47fd40a2bb441b479bcc3ab9
tree4683410f3b3aaa794a555f5b2385d299f47d4669
parented62cbfdea7889dba8b3f34550255160616da3a8
Fix: use of uninitialized ret value in lttng_abi_open_metadata_stream

Fixes the following compiler warning:

lttng-abi.c: In function ‘lttng_metadata_ioctl’:
lttng-abi.c:971:6: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  int ret;
      ^

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