Prepare for '-Wimplicit-fallthrough'
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.cpp
index 9ade60798692c112451e13f9b24d045e9a98a6cf..ff7c0394719de93b893250d7ecd1762dd29ba336 100644 (file)
@@ -1921,8 +1921,8 @@ int cmd_add_context(struct command_ctx *cmd_ctx,
                        ret = LTTNG_ERR_UST_CHAN_NOT_FOUND;
                        goto error;
                }
-               /* break is _not_ missing here. */
        }
+       /* fall through */
        case LTTNG_DOMAIN_UST:
        {
                struct ltt_ust_session *usess = session->ust_session;
@@ -3287,6 +3287,7 @@ void cmd_destroy_session_reply(const struct ltt_session *session,
                .cmd_header_size =
                        sizeof(struct lttcomm_session_destroy_command_header),
                .data_size = 0,
+               .fd_count = 0,
        };
        size_t payload_size_before_location;
 
This page took 0.023439 seconds and 4 git commands to generate.