Change in osmo-ttcn3-hacks[master]: Osmocom_Gb_Types: Fix warning: control reaches end of non-void function

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 15:03:28 UTC 2021


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


Change subject: Osmocom_Gb_Types: Fix warning: control reaches end of non-void function
......................................................................

Osmocom_Gb_Types: Fix warning: control reaches end of non-void function

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



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

diff --git a/library/Osmocom_Gb_Types.ttcn b/library/Osmocom_Gb_Types.ttcn
index d474be9..01a39a2 100644
--- a/library/Osmocom_Gb_Types.ttcn
+++ b/library/Osmocom_Gb_Types.ttcn
@@ -3782,10 +3782,8 @@
 		case (PDU_BSSGP:{pDU_BSSGP_PAGING_CS:={?,?,?,{bVCI:=?},*,*,*,*,*}}) {
 			return pdu.pDU_BSSGP_PAGING_CS.paging_Field4.bVCI;
 			}
-		case else {
-			return omit;
-			}
 		}
+		return omit;
 	}
 
 	/* extract the BVCI IE of given PDU + convert it to integer value */
@@ -3828,6 +3826,7 @@
 		} else {
 			setverdict(fail, "Unknonw TLLI Type ", tllib);
 			mtc.stop;
+			self.stop;
 		}
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22738
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: Ic2b8d0215c378ec2fd1a44775dc4e43616ca9f3c
Gerrit-Change-Number: 22738
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/8908f9aa/attachment.htm>


More information about the gerrit-log mailing list