libmsc/gsm_04_11_gsup.c: do not init a buffer in gsm411_gsup_mo_fwd_sm_req()

Because there is no real need for that.

Change-Id: I19d4d0de0d5a46bf1de194b966f18ea8a84ced94
This commit is contained in:
Vadim Yanitskiy 2019-12-19 22:08:14 +09:00
parent 3d6a8be0f9
commit 61f4780f29
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static void gsup_sm_msg_init(struct osmo_gsup_message *gsup_msg,
int gsm411_gsup_mo_fwd_sm_req(struct gsm_trans *trans, struct msgb *msg,
uint8_t sm_rp_mr, uint8_t *sm_rp_da, uint8_t sm_rp_da_len)
{
uint8_t bcd_buf[GSM48_MI_SIZE] = { 0 };
uint8_t bcd_buf[GSM48_MI_SIZE];
struct osmo_gsup_message gsup_msg;
size_t bcd_len;