oc2g: Fix 'unused variable' compiler warning
oml.c: In function ‘bts_model_opstart’: oml.c:1883:32: warning: variable ‘ts’ set but not used [-Wunused-but-set-variable] 1883 | struct gsm_bts_trx_ts *ts; | ^~ Change-Id: Ifd5552f2dd56f4f9bf4c17d25b741f694f4f2168
This commit is contained in:
parent
362f2e50c2
commit
96263aa908
|
@ -1935,7 +1935,7 @@ int bts_model_opstart(struct gsm_bts *bts, struct gsm_abis_mo *mo,
|
||||||
break;
|
break;
|
||||||
case NM_OC_CHANNEL:
|
case NM_OC_CHANNEL:
|
||||||
ts = (struct gsm_bts_trx_ts*) obj;
|
ts = (struct gsm_bts_trx_ts*) obj;
|
||||||
rc = ts_opstart(obj);
|
rc = ts_opstart(ts);
|
||||||
break;
|
break;
|
||||||
case NM_OC_GPRS_NSE:
|
case NM_OC_GPRS_NSE:
|
||||||
case NM_OC_GPRS_CELL:
|
case NM_OC_GPRS_CELL:
|
||||||
|
|
Loading…
Reference in New Issue