pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/34532?usp=email )
Change subject: rlcmac: Fix compilation error 'rlcmac_prim may be used
uninitialized'
......................................................................
rlcmac: Fix compilation error 'rlcmac_prim may be used uninitialized'
Change-Id: Ica93447bc1f2e60984be7c9c73b153b4eb508aaa
---
M src/rlcmac/tbf_ul_ass_fsm.c
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/32/34532/1
diff --git a/src/rlcmac/tbf_ul_ass_fsm.c b/src/rlcmac/tbf_ul_ass_fsm.c
index 64797aa..b1be58c 100644
--- a/src/rlcmac/tbf_ul_ass_fsm.c
+++ b/src/rlcmac/tbf_ul_ass_fsm.c
@@ -118,7 +118,9 @@
LOGPFSML(ctx->fi, LOGL_INFO, "Requesting two-phase packet access using
CCCH\n");
rlcmac_prim = gprs_rlcmac_prim_alloc_l1ctl_rach8_req(0x70);
break;
- /* TODO: EGPRS specific modes (11-bit RACH) */
+ default:
+ /* TODO: EGPRS specific modes (11-bit RACH) */
+ return -ENOTSUP;
}
return gprs_rlcmac_prim_call_down_cb(rlcmac_prim);
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/34532?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: Ica93447bc1f2e60984be7c9c73b153b4eb508aaa
Gerrit-Change-Number: 34532
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange