aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-08-05 15:52:00 +0200
committerpespin <pespin@sysmocom.de>2022-08-05 20:29:24 +0000
commit855c56c44699fb230c19f28e8376a607c1819e1a (patch)
tree3cb279b7c7b221a64c4ad519b440640ee222af05
parent8c67433741223b84fcadae080ade6da3ca5e7191 (diff)
cbc: remove unneded template local var
-rw-r--r--cbc/CBC_Tests.ttcn8
1 files changed, 2 insertions, 6 deletions
diff --git a/cbc/CBC_Tests.ttcn b/cbc/CBC_Tests.ttcn
index 83cf07db..437ba0bc 100644
--- a/cbc/CBC_Tests.ttcn
+++ b/cbc/CBC_Tests.ttcn
@@ -345,13 +345,9 @@ testcase TC_selftest_sabp() runs on test_CT {
}
private function f_bsc_create_and_delete() runs on BSC_ConnHdlr {
- var template (omit) BSSMAP_FIELD_CellIdentificationList cell_list_success := omit;
- if (ispresent(g_pars.cell_list_success)) {
- cell_list_success := g_pars.cell_list_success;
- }
- f_cbsp_handle_write(g_pars.exp_cbs_msg, 0, cell_list_success);
+ f_cbsp_handle_write(g_pars.exp_cbs_msg, 0, g_pars.cell_list_success);
f_cbsp_handle_kill(0, g_pars.exp_cbs_msg.msg_id, g_pars.exp_cbs_msg.ser_nr,
- exp_list:=cell_list_success, tx_list:=cell_list_success,
+ exp_list:=g_pars.cell_list_success, tx_list:=g_pars.cell_list_success,
tx_fail_list:=omit, tx_compl_list:=omit,
channel_ind:=g_pars.exp_cbs_msg.channel_ind);
}