yaml_initialize: Initialize @origin to reduce warnings.

This commit is contained in:
Akinori MUSHA 2013-04-13 13:04:54 +09:00
parent 17a3cbc970
commit 2e8fcb4a76

View file

@ -713,6 +713,7 @@ class HTTP::Cookie
# YAML deserialization helper for Psych.
def yaml_initialize(tag, map)
expires = nil
@origin = nil
map.each { |key, value|
case key
when 'expires'