summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e31982)
** 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)
{
static
int check_session_rotation_pending_local(struct ltt_session *session)
{
struct consumer_socket *socket;
struct cds_lfht_iter iter;
bool rotation_completed = true;
struct consumer_socket *socket;
struct cds_lfht_iter iter;
bool rotation_completed = true;