Change in libosmo-abis[master]: trau_sync: Check return value of osmo_fsm_register()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 6 09:58:28 UTC 2020


laforge has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/39/19539/1

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 <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200806/ae5383f0/attachment.htm>


More information about the gerrit-log mailing list