From: Philippe Proulx Date: Tue, 20 Jun 2017 17:36:03 +0000 (-0400) Subject: lib/graph/notification/inactivity.c: add missing `ret = -1` X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=7bd556d8dfc521775a439e93b50f3582041dc167 lib/graph/notification/inactivity.c: add missing `ret = -1` Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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; }