diff options
author | Harald Welte <laforge@osmocom.org> | 2020-08-21 12:31:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-08-21 13:17:58 +0200 |
commit | 88ee36088c9b40a95bdb626afae69de02cd9feba (patch) | |
tree | 1608f99c59c9efeb4f9a6a8bf3873b84509c4696 /library/RAN_Emulation.ttcnpp | |
parent | 09daa2e6cc44b73500576fd99895ab38618b2d25 (diff) |
RAN_Emulation: Fix compiler warnings about unreachable code
RAN_Emulation.ttcn: In TTCN-3 module `RAN_Emulation':
RAN_Emulation.ttcnpp:1294.1-1343.1: In function definition `ExpectedCreateCallback':
RAN_Emulation.ttcnpp:1309.4-1313.2: In else statement:
RAN_Emulation.ttcnpp:1312.3-12: warning: Control never reaches this statement
RAN_Emulation.ttcnpp:1342.2-11: warning: Control never reaches this statement
Change-Id: I4e7cc0a7e6bff5c5e569458548fa70e814bd200c
Diffstat (limited to 'library/RAN_Emulation.ttcnpp')
-rw-r--r-- | library/RAN_Emulation.ttcnpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp index a400dcda..c1dc0363 100644 --- a/library/RAN_Emulation.ttcnpp +++ b/library/RAN_Emulation.ttcnpp @@ -1309,7 +1309,6 @@ runs on RAN_Emulation_CT return RAN_ConnHdlr { } else { setverdict(fail, "N-CONNECT.ind with L3 != COMPLETE L3 nor a Handover Request"); mtc.stop; - return ret; } for (i := 0; i < sizeof(ExpectTable); i:= i+1) { @@ -1339,7 +1338,6 @@ runs on RAN_Emulation_CT return RAN_ConnHdlr { } setverdict(fail, "Couldn't find Expect for incoming connection ", conn_ind); mtc.stop; - return ret; } #endif |