Remove unused variable

This commit is contained in:
Lars Kanis 2022-10-11 11:44:25 +02:00
parent 87446b4035
commit b4a371ddd9
1 changed files with 0 additions and 1 deletions

View File

@ -714,7 +714,6 @@ class PG::Connection
iopts = PG::Connection.conninfo_parse(option_string).each_with_object({}){|h, o| o[h[:keyword].to_sym] = h[:val] if h[:val] }
iopts = PG::Connection.conndefaults.each_with_object({}){|h, o| o[h[:keyword].to_sym] = h[:val] if h[:val] }.merge(iopts)
errors = []
if iopts[:hostaddr]
# hostaddr is provided -> no need to resolve hostnames