Cleanup: ust-app.c: Dead assignment
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 97cb6623250c9384dfdabbd227772870261687fe..9f3037f34c8261a50f6f86ea85a5d25c7d0a27bc 100644 (file)
@@ -4069,7 +4069,8 @@ int ust_app_setup_event_notifier_group(struct ust_app *app)
        /* Assign handle only when the complete setup is valid. */
        app->event_notifier_group.object = event_notifier_group;
 
-       event_notifier_error_accounting_status = event_notifier_error_accounting_register_app(app);
+       event_notifier_error_accounting_status =
+                       event_notifier_error_accounting_register_app(app);
        if (event_notifier_error_accounting_status != EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK) {
                if (event_notifier_error_accounting_status == EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_APP_DEAD) {
                        DBG3("Failed to setup event notifier error accounting (application is dead): app socket fd = %d",
@@ -5675,7 +5676,6 @@ void ust_app_synchronize_event_notifier_rules(struct ust_app *app)
        ret_code = notification_thread_command_list_triggers(
                        the_notification_thread_handle, 0, &triggers);
        if (ret_code != LTTNG_OK) {
-               ret = -1;
                goto end;
        }
 
@@ -5683,7 +5683,6 @@ void ust_app_synchronize_event_notifier_rules(struct ust_app *app)
 
        t_status = lttng_triggers_get_count(triggers, &count);
        if (t_status != LTTNG_TRIGGER_STATUS_OK) {
-               ret = -1;
                goto end;
        }
 
This page took 0.023594 seconds and 4 git commands to generate.