Change in osmo-ttcn3-hacks[master]: Osmocom_Gb_Types: Fix warning: Inadequate restriction on the referenc...

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 12:05:31 UTC 2021


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


Change subject: Osmocom_Gb_Types: Fix warning: Inadequate restriction on the referenced template parameter
......................................................................

Osmocom_Gb_Types: Fix warning: Inadequate restriction on the referenced template parameter

Fixes warning:
Osmocom_Gb_Types.ttcn:1397.26-29: warning: Inadequate restriction on the referenced template
parameter `tlli', this may cause a dynamic test case error at runtime

Change-Id: I3da153ce5e83b231501e74b958fcac9f10c00849
---
M library/Osmocom_Gb_Types.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/library/Osmocom_Gb_Types.ttcn b/library/Osmocom_Gb_Types.ttcn
index 04d32aa..5af9b8d 100644
--- a/library/Osmocom_Gb_Types.ttcn
+++ b/library/Osmocom_Gb_Types.ttcn
@@ -921,7 +921,7 @@
 		},
 		tLLI_Value := tlli
 	}
-	template TLLI_BSSGP tr_BSSGP_TLLI(template GprsTlli tlli) := {
+	template (present) TLLI_BSSGP tr_BSSGP_TLLI(template (present) GprsTlli tlli) := {
 		iEI := '1F'O,
 		ext := '1'B,
 		lengthIndicator := {
@@ -1394,7 +1394,7 @@
 						  template (present) OCT1 tag := ?) := {
 		pDU_BSSGP_FLOW_CONTROL_MS := {
 			bssgpPduType := '28'O,
-			tLLI := ts_BSSGP_TLLI(tlli),
+			tLLI := tr_BSSGP_TLLI(tlli),
 			tag := {
 				iEI := '1E'O,
 				ext := '1'B,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22731
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: I3da153ce5e83b231501e74b958fcac9f10c00849
Gerrit-Change-Number: 22731
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/8dc8923b/attachment.htm>


More information about the gerrit-log mailing list