Found using scan-build.
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I8920ee21d8202e9b94b95f517c8e1fbe8c9224a0
ret_code = notification_thread_command_list_triggers(
the_notification_thread_handle, 0, &triggers);
if (ret_code != LTTNG_OK) {
ret_code = notification_thread_command_list_triggers(
the_notification_thread_handle, 0, &triggers);
if (ret_code != LTTNG_OK) {
t_status = lttng_triggers_get_count(triggers, &count);
if (t_status != LTTNG_TRIGGER_STATUS_OK) {
t_status = lttng_triggers_get_count(triggers, &count);
if (t_status != LTTNG_TRIGGER_STATUS_OK) {