summaryrefslogtreecommitdiffstats
path: root/sysinfo
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-16 03:54:54 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-16 03:54:54 +0200
commitd7bd30f33b5ad504f565ef0be47a028db69b40bd (patch)
tree5315dba1b2ca81426abc13c0120d2233ae492c8a /sysinfo
parent75f761f35b206adac5282e534ea9ebd2d9fc5aa8 (diff)
sysinfo: Hugely reduce warnings about unused return values
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/Test.ttcn8
1 files changed, 6 insertions, 2 deletions
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 @@ module Test {
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 @@ module Test {
}
/* 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);