lib/graph/notification/inactivity.c: add missing `ret = -1`
[babeltrace.git] / lib / graph / notification / inactivity.c
index 9a01b7cc95b3fbd7f3c7126bdd964320d810fbbf..fc1d8ad8b022df862db8ce9fe16c0a1f885f6ba8 100644 (file)
@@ -191,6 +191,7 @@ int bt_notification_inactivity_set_clock_value(
                        "addr%p, notif-type=%s",
                        notification, bt_notification_type_string(
                                bt_notification_get_type(notification)));
+               ret = -1;
                goto end;
        }
 
@@ -208,6 +209,7 @@ int bt_notification_inactivity_set_clock_value(
                        inactivity_notification->cc_prio_map,
                        clock_class, bt_ctf_clock_class_get_name(clock_class),
                        clock_value);
+               ret = -1;
                goto end;
        }
 
This page took 0.023048 seconds and 4 git commands to generate.