From 65e419a085770e8262e4a2c43401d99327f686f4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 21 Aug 2020 12:38:33 +0200 Subject: BSC_Tests: Fix compiler warnings about inadequate template restrictions Change-Id: I3e6e724d563993202611e73b525d5d6769bb5460 --- bsc/BSC_Tests.ttcn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsc') diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 003df49f..0e764762 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -136,7 +136,7 @@ template EUTRAN_CellDesc tr_EUTRAN_CellDesc_default(template (present) uint16_t meas_bw := meas_bw); /* tr_EUTRAN_NeighbourCells with defaults used in BSC_Tests.ttcn */ -template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default }, +template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template (present) EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default }, template uint3_t prio := 3, template (present) uint5_t thresh_high := 20, template uint5_t thresh_low := 10, @@ -978,7 +978,7 @@ runs on test_CT { } /* expect to receive a RSL message matching a specified template on a given BTS / stream */ -function f_exp_ipa_rx(integer bts_nr, template RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0) +function f_exp_ipa_rx(integer bts_nr, template (present) RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0) runs on test_CT return RSL_Message { var ASP_RSL_Unitdata rx_rsl_ud; timer T := t_secs; @@ -998,7 +998,7 @@ runs on test_CT return RSL_Message { } /* helper function to transmit RSL on a given BTS/stream */ -function f_ipa_tx(integer bts_nr, template RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0) +function f_ipa_tx(integer bts_nr, template (value) RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0) runs on test_CT { IPA_RSL[bts_nr].send(ts_ASP_RSL_UD(t_tx, sid)); } -- cgit v1.2.3