bsc_init: Initialize rc on all paths to address a compiler warning

bsc_init.c:203:6: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
bsc_init.c:101:6: note: ‘rc’ was declared here
This commit is contained in:
Holger Hans Peter Freyther 2012-09-11 12:30:45 +02:00
parent a5050b14c9
commit d98136d25c
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ static int rsl_si(struct gsm_bts_trx *trx, enum osmo_sysinfo_type i, int si_len)
osmo_sitype2rsl(i),
GSM_BTS_SI(bts, i), si_len);
}
rc = 0;
} else
rc = rsl_sacch_filling(trx, osmo_sitype2rsl(i),
GSM_BTS_SI(bts, i), si_len);