sessiond: clean-up: init ret value of _session_set_trace_chunk_no_lock_check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 11 Sep 2019 17:22:32 +0000 (13:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commitd4a4b1fbecaac7cdc750982a9c702a72f280d4c2
treeed334811f782ae0d0c8d289968bbec49ccdcb666
parent0272046cf2fb096d3c75aa1fa1e32b9aeb1169ce
sessiond: clean-up: init ret value of _session_set_trace_chunk_no_lock_check

This fixes are warning that 'ret' may not be initialized when a
session has no ust nor kernel session. In such a case, the sessiond
would never start a session and thus would not assign a trace chunk to
the session. Still, this can be confuging so it is better-off being
fixed.

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