diff options
author | Harald Welte <laforge@osmocom.org> | 2023-03-28 15:36:04 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-03-29 12:02:10 +0000 |
commit | 96263aa908a426b76f600852d72e03abaf5d162d (patch) | |
tree | fb2d71c74e9bfb66fdc2752d8323f0dfbb04f6e2 | |
parent | 362f2e50c22bd9fb9b09d075d09275528b39ccf4 (diff) |
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
-rw-r--r-- | src/osmo-bts-oc2g/oml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c index a8bd3d9b..bcbe92c7 100644 --- a/src/osmo-bts-oc2g/oml.c +++ b/src/osmo-bts-oc2g/oml.c @@ -1935,7 +1935,7 @@ int bts_model_opstart(struct gsm_bts *bts, struct gsm_abis_mo *mo, 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: |