bsc: Fix tons of TTCN3 compiler warnings

Change-Id: I60dc054d19a249d46d44585c17626746c34f4b09
diff --git a/library/MGCP_Emulation.ttcn b/library/MGCP_Emulation.ttcn
index adcb8b5..aaef39e 100644
--- a/library/MGCP_Emulation.ttcn
+++ b/library/MGCP_Emulation.ttcn
@@ -267,7 +267,7 @@
 			if (p.callagent_udp_port == -1) {
 				/* we aren't yet connected to the remote side port, let's fix this */
 				p.callagent_udp_port := mrf.remPort;
-				MGCP_CodecPort_CtrlFunct.f_IPL4_connect(MGCP, p.callagent_ip, p.callagent_udp_port, p.mgw_ip, p.mgw_udp_port, g_mgcp_conn_id, { udp:={} });
+				res := MGCP_CodecPort_CtrlFunct.f_IPL4_connect(MGCP, p.callagent_ip, p.callagent_udp_port, p.mgw_ip, p.mgw_udp_port, g_mgcp_conn_id, { udp:={} });
 			}
 			if (ischosen(mrf.msg.command)) {
 				cmd := mrf.msg.command;