Skip to content
Snippets Groups Projects
Commit cae3f8ce authored by Olek Janiszewski's avatar Olek Janiszewski
Browse files

Fix uninitialized variable warnings

parent 6b2dbb82
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ module Geocoder
module Lookup
class Base
def initialize
@cache = nil
end
##
# Human-readable name of the geocoding API.
......
......@@ -29,7 +29,7 @@ module Geocoder
private # ----------------------------------------------------------------
def geocoder_init(options)
unless @geocoder_options
unless defined?(@geocoder_options)
@geocoder_options = {}
require "geocoder/stores/#{geocoder_file_name}"
include Geocoder::Store.const_get(geocoder_module_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment