lib/graph/notification/inactivity.c: add missing `ret = -1`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 20 Jun 2017 17:36:03 +0000 (13:36 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Jul 2017 20:13:01 +0000 (16:13 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.026599 seconds and 4 git commands to generate.