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
This commit is contained in:
Harald Welte 2020-08-21 12:31:10 +02:00
parent 09daa2e6cc
commit 88ee36088c
1 changed files with 0 additions and 2 deletions

View File

@ -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