mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user