Skip to content

Commit

Permalink
🔇 Fix ruby 2.7 ivar not initialized warning
Browse files Browse the repository at this point in the history
This looks like it was added for debugging, but it's unassigned and
unused now.  Future debuggers can easily add it back as needed.
  • Loading branch information
nevans committed Jun 22, 2024
1 parent 1920a38 commit 156f86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/net/imap/test_imap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def tcp_socket(host, port)
t: Process.clock_gettime(Process::CLOCK_MONOTONIC),
}
#super
s = Socket.tcp(host, port, :connect_timeout => @open_timeout)
s = Socket.tcp(host, port)
@@h[:in_tcp_socket_2] = {
s: s.inspect,
local_address: s.local_address,
Expand Down

0 comments on commit 156f86b

Please sign in to comment.