Change in osmo-ttcn3-hacks[master]: pcu: Fix inadequate restriction on the referenced template parameter

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Feb 5 11:38:12 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22727 )


Change subject: pcu: Fix inadequate restriction on the referenced template parameter
......................................................................

pcu: Fix inadequate restriction on the referenced template parameter

Fixes:
 warning: Inadequate restriction on the referenced template parameter
 `chreq_desc', this may cause a dynamic test case error at runtime

Change-Id: I10b170c13aedc8abaaaf3b67d563ade8c3586c5b
---
M pcu/GPRS_Components.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/22727/1

diff --git a/pcu/GPRS_Components.ttcn b/pcu/GPRS_Components.ttcn
index bf2e868..3658fc8 100644
--- a/pcu/GPRS_Components.ttcn
+++ b/pcu/GPRS_Components.ttcn
@@ -423,7 +423,7 @@
 }
 
 function f_dltbf_ts_RLCMAC_DL_ACK_NACK(DlTbf dl_tbf, boolean use_egprs := false,
-				       template ChannelReqDescription chreq_desc := omit)
+				       template (omit) ChannelReqDescription chreq_desc := omit)
 runs on MS_BTS_IFACE_CT return template RlcmacUlBlock  {
 	if (use_egprs) {
 		return ts_RLCMAC_DL_ACK_NACK_EGPRS(dl_tbf.tfi, dl_tbf.egprs_acknack_desc, false, chreq_desc);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22727
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I10b170c13aedc8abaaaf3b67d563ade8c3586c5b
Gerrit-Change-Number: 22727
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210205/faf4cb73/attachment.htm>


More information about the gerrit-log mailing list