Fix: uninitialized variable may be used in local rotation check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Oct 2018 15:28:11 +0000 (11:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Oct 2018 15:28:16 +0000 (11:28 -0400)
commitdb582e11fda4f8d8487e04a230e429d15f27f126
tree74be43800818ca168d4f1214c3c8001b4b1959e4
parent8e319828707210e48a5f3e74495881594dba73e8
Fix: uninitialized variable may be used in local rotation check

** CID 1395985:  Uninitialized variables  (UNINIT)

'ret' may be left uninitialized if no consumer daemons are
iterated-upon to perform a local rotation pending check.

In practice this wont' happen as that would mean that the
ltt_session has no user space nor kernel session action, thus
no rotation would be launched.

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