Change in osmo-ttcn3-hacks[master]: BSSGP_Emulation: 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 11:08:07 UTC 2021


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


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

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

Change-Id: I9a44afc81b5b6b35a32a12efcf2dd1cb15e73e12
---
M library/BSSGP_Emulation.ttcnpp
1 file changed, 7 insertions(+), 0 deletions(-)



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

diff --git a/library/BSSGP_Emulation.ttcnpp b/library/BSSGP_Emulation.ttcnpp
index 4af5f82..f6921d8 100644
--- a/library/BSSGP_Emulation.ttcnpp
+++ b/library/BSSGP_Emulation.ttcnpp
@@ -593,6 +593,7 @@
 	}
 	setverdict(fail, "No LLC SAPI for ", l3_mo);
 	mtc.stop;
+	self.stop;
 }
 
 private function f_llc_sapi_by_l3_mt(PDU_L3_SGSN_MS l3_mt) return BIT4 {
@@ -605,6 +606,7 @@
 	}
 	setverdict(fail, "No LLC SAPI for ", l3_mt);
 	mtc.stop;
+	self.stop;
 }
 #endif
 
@@ -832,6 +834,7 @@
 function DefaultCreateCallback(BssgpBvci bvci, BssgpCellId cell_id, OCT4 tlli, BssgpDecoded dec) runs on BSSGP_BVC_CT {
 	setverdict(fail, "Couldn't find Component for TLLI ", tlli);
 	mtc.stop;
+	self.stop;
 }
 
 /*
@@ -877,6 +880,7 @@
 				setverdict(fail, "Cannot unregister index=", i, " IMSI ", imsi, " registred to ",
 					   ClientTable[i].comp_ref, " from ", vc_conn);
 				mtc.stop;
+				self.stop;
 			}
 			log("Removing Client IMSI=", imsi, ", index=", i);
 			ClientTable[i] := {
@@ -921,6 +925,7 @@
 	}
 	setverdict(fail, "Couldn't find Component for IMSI ", imsi);
 	mtc.stop;
+	self.stop;
 }
 
 private function f_tbl_comp_by_tlli(OCT4 tlli) runs on BSSGP_BVC_CT return BSSGP_Client_CT {
@@ -944,6 +949,7 @@
 	}
 	setverdict(fail, "Couldn't find Client for Component ", comp_ref);
 	mtc.stop;
+	self.stop;
 }
 
 private function f_tbl_tlli_by_comp(BSSGP_Client_CT comp_ref) runs on BSSGP_BVC_CT return OCT4 {
@@ -956,6 +962,7 @@
 	}
 	setverdict(fail, "Couldn't find TLLI for Component ", comp_ref);
 	mtc.stop;
+	self.stop;
 }
 
 /* PDU_BSSGP enhanced with LLC and possibly L3 decoded payloads */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22722
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: I9a44afc81b5b6b35a32a12efcf2dd1cb15e73e12
Gerrit-Change-Number: 22722
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/262c2794/attachment.htm>


More information about the gerrit-log mailing list