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

Fix unused variable warnings

parent cae3f8ce
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ module Geocoder::Lookup
end
def query_url_params(query)
params = {
{
:query => query.sanitized_text,
:return_location => true,
:return_geometry => false
......
......@@ -7,7 +7,7 @@ module Geocoder::Lookup
def initialize
begin
require 'geoip'
rescue LoadError => e
rescue LoadError
raise 'Could not load geoip dependency. To use MaxMind Local lookup you must add geoip gem to your Gemfile or have it installed in your system.'
end
......@@ -38,4 +38,4 @@ module Geocoder::Lookup
result.nil? ? [] : [result.to_hash]
end
end
end
\ No newline at end of file
end
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