diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-30 09:34:41 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-30 11:45:37 +0900 |
commit | 409b0ec4c3c4878c0ba164d1303de67787157808 (patch) | |
tree | 292c5554ee9f81571b760d359ac9513c44da3ee0 /test/net/ftp | |
parent | 84837e6d16cb0e588b1acc2691cb1048b9a89989 (diff) |
Suppress unused variable warnings
Diffstat (limited to 'test/net/ftp')
-rw-r--r-- | test/net/ftp/test_ftp.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |