Change in libosmocore[master]: bssgp_bvc_fsm: 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/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Feb 5 13:37:57 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22733 )


Change subject: bssgp_bvc_fsm: check return value of osmo_fsm_register()
......................................................................

bssgp_bvc_fsm: check return value of osmo_fsm_register()

Change-Id: I0ade2e476a035bb44b2f135ece4552d015852274
Fixes: CID#215717
---
M src/gb/bssgp_bvc_fsm.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/33/22733/1

diff --git a/src/gb/bssgp_bvc_fsm.c b/src/gb/bssgp_bvc_fsm.c
index 6de0028..6b8bd14 100644
--- a/src/gb/bssgp_bvc_fsm.c
+++ b/src/gb/bssgp_bvc_fsm.c
@@ -819,5 +819,5 @@
 
 static __attribute__((constructor)) void on_dso_load_bvc_fsm(void)
 {
-	osmo_fsm_register(&bssgp_bvc_fsm);
+	OSMO_ASSERT(osmo_fsm_register(&bssgp_bvc_fsm) == 0);
 }

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I0ade2e476a035bb44b2f135ece4552d015852274
Gerrit-Change-Number: 22733
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210205/87eb95f8/attachment.htm>


More information about the gerrit-log mailing list