Skip to content

Commit 156f86b

Browse files
committed
🔇 Fix ruby 2.7 ivar not initialized warning
This looks like it was added for debugging, but it's unassigned and unused now. Future debuggers can easily add it back as needed.
1 parent 1920a38 commit 156f86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/imap/test_imap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def tcp_socket(host, port)
523523
t: Process.clock_gettime(Process::CLOCK_MONOTONIC),
524524
}
525525
#super
526-
s = Socket.tcp(host, port, :connect_timeout => @open_timeout)
526+
s = Socket.tcp(host, port)
527527
@@h[:in_tcp_socket_2] = {
528528
s: s.inspect,
529529
local_address: s.local_address,

0 commit comments

Comments
 (0)