mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +00:00
Remove an unused variable to suppress warning.
This commit is contained in:
parent
b05008d996
commit
5f21b364d3
1 changed files with 0 additions and 2 deletions
|
|
@ -151,8 +151,6 @@ class HTTP::CookieJar
|
||||||
# Read cookies from Mozilla cookies.txt-style IO stream and return
|
# Read cookies from Mozilla cookies.txt-style IO stream and return
|
||||||
# self.
|
# self.
|
||||||
def load_cookiestxt(io)
|
def load_cookiestxt(io)
|
||||||
now = Time.now
|
|
||||||
|
|
||||||
io.each_line do |line|
|
io.each_line do |line|
|
||||||
c = HTTP::Cookie.parse_cookiestxt_line(line) and add(c)
|
c = HTTP::Cookie.parse_cookiestxt_line(line) and add(c)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue