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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13932 Change subject: msub_check_for_release(): Initialize msc_role_a_c ...................................................................... msub_check_for_release(): Initialize msc_role_a_c This fixes the following compiler error: msub.c: In function ‘msub_fsm_active’: msub.c:85:35: error: ‘msc_role_a_c’ may be used uninitialized in this function [-Werror=maybe-uninitialized] || (msc_role_a_c && msc_role_a_c->ran->type == OSMO_RAT_EUTRAN_SGS))) ~~~~~~~~~~~~^~~~~ msub.c:59:26: note: ‘msc_role_a_c’ was declared here struct msc_role_common *msc_role_a_c; ^~~~~~~~~~~~ Change-Id: Id518dea77d01ed0518ca7cba6b1b363f1c8e6543 --- M src/libmsc/msub.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/32/13932/1 diff --git a/src/libmsc/msub.c b/src/libmsc/msub.c index 4900732..2021ed8 100644 --- a/src/libmsc/msub.c +++ b/src/libmsc/msub.c @@ -56,7 +56,7 @@ static void msub_check_for_release(struct osmo_fsm_inst *fi) { struct msub *msub = fi->priv; - struct msc_role_common *msc_role_a_c; + struct msc_role_common *msc_role_a_c = NULL; enum msc_role role_idx; int role_present[MSC_ROLES_COUNT] = {}; struct osmo_fsm_inst *child; -- To view, visit https://gerrit.osmocom.org/13932 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id518dea77d01ed0518ca7cba6b1b363f1c8e6543 Gerrit-Change-Number: 13932 Gerrit-PatchSet: 1 Gerrit-Owner: Harald Welte <laforge at gnumonks.org> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190509/940c68f8/attachment.htm>