Fix: uninitialized variable returned by relay_rotate_session_streams
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Aug 2019 22:24:12 +0000 (15:24 -0700)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Sep 2019 20:39:15 +0000 (16:39 -0400)
commit9be27ca776aa87e7eb44d0347b9e5100495ba432
tree5fa9bf6064aa64706676e94c226304fe2a981944
parentaaed9f3e294886ac257ad33e48f590deb976a9f3
Fix: uninitialized variable returned by relay_rotate_session_streams

`ret` can be returned uninitialized when relay_rotate_session_streams
succeeds. Initialize it to 0 on the successful code path.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c
This page took 0.025416 seconds and 4 git commands to generate.