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>
Wed, 11 Sep 2019 17:34:29 +0000 (13:34 -0400)
commit78fc586baa98ae77506c34eac8bb980a7d3cc901
treee2f8eb17de2f382793341a770cac733a9d12cfa2
parent35c829f8c54cc79fabc38151de90ce75d626e7c5
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.02633 seconds and 5 git commands to generate.