laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/32107 )
Change subject: oc2g: Fix 'unused variable' compiler warning ......................................................................
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 --- M src/osmo-bts-oc2g/oml.c 1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/07/32107/1
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c index b524421..9ea6a4d 100644 --- a/src/osmo-bts-oc2g/oml.c +++ b/src/osmo-bts-oc2g/oml.c @@ -1904,7 +1904,7 @@ break; case NM_OC_CHANNEL: ts = (struct gsm_bts_trx_ts*) obj; - rc = ts_opstart(obj); + rc = ts_opstart(ts); break; case NM_OC_GPRS_NSE: case NM_OC_GPRS_CELL: