Fix Lint/UselessAssignment cop

This commit is contained in:
Matt Jankowski 2024-11-18 17:36:02 -05:00
parent b51db5b82d
commit aa835d4cec

View file

@ -261,7 +261,6 @@ class Request
outer_e = nil outer_e = nil
port = args.first port = args.first
addresses = []
begin begin
addresses = [IPAddr.new(host)] addresses = [IPAddr.new(host)]
rescue IPAddr::InvalidAddressError rescue IPAddr::InvalidAddressError