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:37:28 +0000 (14:37 -0500)
commit901aaa5f5ae34df163ccf710580fb0de99e9ed79
treed5d0c62e89e223e0f20b221fbd613ba7e392a6a1
parent77932315cd23b50c88462872a3b86ad5997e5b47
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.027258 seconds and 4 git commands to generate.