bsc_vty: Fix uninitialized var false positive on gcc 7.3.1
Change-Id: If2b315d76081f7ef5f2faf07c502f20196ba6a09
This commit is contained in:
parent
39fb1fb916
commit
cf48c54e47
|
@ -1411,9 +1411,9 @@ static int lchan_summary(struct vty *vty, int argc, const char **argv,
|
||||||
void (*dump_cb)(struct vty *, struct gsm_lchan *))
|
void (*dump_cb)(struct vty *, struct gsm_lchan *))
|
||||||
{
|
{
|
||||||
struct gsm_network *net = gsmnet_from_vty(vty);
|
struct gsm_network *net = gsmnet_from_vty(vty);
|
||||||
struct gsm_bts *bts;
|
struct gsm_bts *bts = NULL;
|
||||||
struct gsm_bts_trx *trx;
|
struct gsm_bts_trx *trx = NULL;
|
||||||
struct gsm_bts_trx_ts *ts;
|
struct gsm_bts_trx_ts *ts = NULL;
|
||||||
struct gsm_lchan *lchan;
|
struct gsm_lchan *lchan;
|
||||||
int bts_nr, trx_nr, ts_nr, lchan_nr;
|
int bts_nr, trx_nr, ts_nr, lchan_nr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue