From 409b0ec4c3c4878c0ba164d1303de67787157808 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 30 Jun 2019 09:34:41 +0900 Subject: Suppress unused variable warnings --- test/net/ftp/test_ftp.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/net/ftp/test_ftp.rb') diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index a5219644bb..39f1220dbb 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -530,6 +530,7 @@ class FTPTest < Test::Unit::TestCase sock.print("553 Requested action not taken.\r\n") commands.push(sock.gets) sock.print("200 Switching to Binary mode.\r\n") + [host, port] } begin begin @@ -711,6 +712,7 @@ class FTPTest < Test::Unit::TestCase host, port = process_port_or_eprt(sock, line) commands.push(sock.gets) sock.print("550 Requested action not taken.\r\n") + [host, port] } begin begin @@ -937,6 +939,7 @@ class FTPTest < Test::Unit::TestCase host, port = process_port_or_eprt(sock, line) commands.push(sock.gets) sock.print("452 Requested file action aborted.\r\n") + [host, port] } begin begin -- cgit v1.2.3