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:01 +0000 (14:38 -0500)
commit715b31b70672fdf2606d7fc7d5d59a4c005d0c6b
treeb21ceb145e29ad49f119af5e3df10084b34dca3f
parent7520b63c90941201fda988cba4abc10e9cc7735b
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.028132 seconds and 4 git commands to generate.