Skip to content

Commit

Permalink
Remove warnings "assigned but unused variable"
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jan 16, 2013
1 parent 60f8134 commit 0c9a304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/snmp/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def send(data, host, port)

def recvfrom(max_bytes)
data, host_info = @socket.recvfrom(max_bytes)
flags, host_port, host_name, host_ip = host_info
_, host_port, _, host_ip = host_info
return data, host_ip, host_port
end
end
Expand Down

0 comments on commit 0c9a304

Please sign in to comment.