From 7bd556d8dfc521775a439e93b50f3582041dc167 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 20 Jun 2017 13:36:03 -0400 Subject: [PATCH] lib/graph/notification/inactivity.c: add missing `ret = -1` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- lib/graph/notification/inactivity.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/graph/notification/inactivity.c b/lib/graph/notification/inactivity.c index 9a01b7cc..fc1d8ad8 100644 --- a/lib/graph/notification/inactivity.c +++ b/lib/graph/notification/inactivity.c @@ -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; } -- 2.34.1