** 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>
static
int check_session_rotation_pending_local(struct ltt_session *session)
{
- int ret;
+ int ret = 0;
struct consumer_socket *socket;
struct cds_lfht_iter iter;
bool rotation_completed = true;