l1sap: pre-initalize pointer with NULL to avoid gcc warning

Change-Id: Ibfd18ed5268740cc73fffdb950b96c7f0fad3164
This commit is contained in:
Philipp Maier 2020-11-19 17:31:09 +01:00
parent 70d78f21f2
commit 2edf5cf47f
1 changed files with 2 additions and 1 deletions

View File

@ -918,7 +918,8 @@ static int l1sap_ph_rts_ind(struct gsm_bts_trx *trx,
uint8_t chan_nr, link_id;
uint8_t tn;
uint32_t fn;
uint8_t *p, *si;
uint8_t *p = NULL;
uint8_t *si;
struct lapdm_entity *le;
struct osmo_phsap_prim pp;
bool dtxd_facch = false;