laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-abis/+/19539 )

Change subject: trau_sync: Check return value of osmo_fsm_register()
......................................................................

trau_sync: Check return value of osmo_fsm_register()

Change-Id: Ieaf524423033864a8b79ea1b04b62568d10ffbd3
Closes: CID#211593
---
M src/trau/trau_sync.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c
index dfd7ce4..730cf0c 100644
--- a/src/trau/trau_sync.c
+++ b/src/trau/trau_sync.c
@@ -524,5 +524,5 @@

        for (i = 0; i < ARRAY_SIZE(sync_patterns); i++)
                sync_pattern_register(&sync_patterns[i]);
-       osmo_fsm_register(&trau_sync_fsm);
+       OSMO_ASSERT(osmo_fsm_register(&trau_sync_fsm) == 0);
 }

--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/19539
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ieaf524423033864a8b79ea1b04b62568d10ffbd3
Gerrit-Change-Number: 19539
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: merged

Reply via email to