Fix: may be used uninitialized warnings
[lttng-tools.git] / src / bin / lttng-sessiond / notification-thread-events.c
index 040ae5f28a355bd235e91ca4630887de823c6b9c..1233bf30652a8438e223d0d8ba4b4a735354ecc9 100644 (file)
@@ -841,6 +841,7 @@ int evaluate_session_condition_for_client(
        switch (lttng_condition_get_type(condition)) {
        case LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING:
                if (!session_info->rotation.ongoing) {
+                       ret = 0;
                        goto end_session_put;
                }
 
This page took 0.024373 seconds and 5 git commands to generate.