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)
** 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>

No differences found
This page took 0.026986 seconds and 5 git commands to generate.