Fix: bindings import segfaults on missing hash_key_u64
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index 1cbebdcf23ca4f9f901ea7855b3d3543fcc10da2..9589b6f52bdeed68ea62111ad7e7d2f88d7c2b77 100644 (file)
@@ -2117,7 +2117,7 @@ static int relay_rotate_session_streams(
                struct relay_connection *conn,
                const struct lttng_buffer_view *payload)
 {
-       int ret;
+       int ret = 0;
        uint32_t i;
        ssize_t send_ret;
        enum lttng_error_code reply_code = LTTNG_ERR_UNK;
@@ -2252,6 +2252,7 @@ end:
                ret = -1;
        }
 
+       ret = 0;
 end_no_reply:
        lttng_trace_chunk_put(next_trace_chunk);
        return ret;
This page took 0.024626 seconds and 5 git commands to generate.