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
changes/57/16657/1
Vadim Yanitskiy 3 years ago
parent 3d6a8be0f9
commit 61f4780f29
  1. 2
      src/libmsc/gsm_04_11_gsup.c

@ -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;

Loading…
Cancel
Save