sysinfo: Hugely reduce warnings about unused return values
diff --git a/sysinfo/Test.ttcn b/sysinfo/Test.ttcn
index b0e39df..fc9ef88 100644
--- a/sysinfo/Test.ttcn
+++ b/sysinfo/Test.ttcn
@@ -149,7 +149,6 @@
var integer count := 0;
if (sizeof(arr) < m) {
testcase.stop("Error: Insufficient SI in array");
- return false;
}
for (var integer i:= 0; i < m; i := i + 1) {
var integer fn_mod51 := arr[i].gsmtap.frame_number mod 51;
@@ -666,11 +665,16 @@
}
/* send a VTY command and obtain response until prompt is received */
- function f_vty_transceive(TELNETasp_PT pt, charstring tx) return charstring {
+ function f_vty_transceive_ret(TELNETasp_PT pt, charstring tx) return charstring {
pt.send(tx);
return f_vty_wait_for_prompt(pt);
}
+ /* send a VTY command and obtain response until prompt is received */
+ function f_vty_transceive(TELNETasp_PT pt, charstring tx) {
+ f_vty_transceive_ret(pt, tx);
+ }
+
type integer BtsNr (0..255);
type integer BtsTrxNr (0..255);
type integer BtsTimeslotNr (0..7);