[XS] Change in osmo-ccid-firmware[master]: ccid_common: iso_handle_fsm_events: add missing return
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42160?usp=email ) Change subject: ccid_common: iso_handle_fsm_events: add missing return ...................................................................... ccid_common: iso_handle_fsm_events: add missing return Fix warning about control reaches end of non-void function. Change-Id: I4066c8a1ab1eadb3d8f8cbaf5aa0afbbb2e5dd80 --- M ccid_common/ccid_slot_fsm.c 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/60/42160/1 diff --git a/ccid_common/ccid_slot_fsm.c b/ccid_common/ccid_slot_fsm.c index 0c56275..c34ad72 100644 --- a/ccid_common/ccid_slot_fsm.c +++ b/ccid_common/ccid_slot_fsm.c @@ -199,7 +199,8 @@ } /* do not free msgbs passed from the fsms, they are statically allocated! */ -static int iso_handle_fsm_events(struct ccid_slot *cs, bool enable){ +static int iso_handle_fsm_events(struct ccid_slot *cs, bool enable) +{ struct iso_fsm_slot *ss = ccid_slot2iso_fsm_slot(cs); struct msgb *tpdu, *resp; volatile uint32_t event = cs->event; @@ -338,6 +339,8 @@ __func__, event, data); break; } + + return 0; } static int iso_fsm_slot_xfr_block_async(struct ccid_slot *cs, struct msgb *msg, -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/42160?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I4066c8a1ab1eadb3d8f8cbaf5aa0afbbb2e5dd80 Gerrit-Change-Number: 42160 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>
participants (1)
-
lynxis lazus