bsc_vty: Fix uninitialized var false positive on gcc 7.3.1

Change-Id: If2b315d76081f7ef5f2faf07c502f20196ba6a09
This commit is contained in:
Pau Espin 2018-03-26 18:20:34 +02:00
parent 39fb1fb916
commit cf48c54e47
1 changed files with 3 additions and 3 deletions

View File

@ -1411,9 +1411,9 @@ static int lchan_summary(struct vty *vty, int argc, const char **argv,
void (*dump_cb)(struct vty *, struct gsm_lchan *))
{
struct gsm_network *net = gsmnet_from_vty(vty);
struct gsm_bts *bts;
struct gsm_bts_trx *trx;
struct gsm_bts_trx_ts *ts;
struct gsm_bts *bts = NULL;
struct gsm_bts_trx *trx = NULL;
struct gsm_bts_trx_ts *ts = NULL;
struct gsm_lchan *lchan;
int bts_nr, trx_nr, ts_nr, lchan_nr;