Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix unused variable warnings

  • Loading branch information...
commit ee0a9233075a67deb0dc822e643adf08b0a503ad 1 parent 878bc3c
@exviva authored
View
2  lib/geocoder/lookups/cloudmade.rb
@@ -24,7 +24,7 @@ def results(query)
end
def query_url_params(query)
- params = {
+ {
:query => query.sanitized_text,
:return_location => true,
:return_geometry => false
View
4 lib/geocoder/lookups/maxmind_local.rb
@@ -7,7 +7,7 @@ class MaxmindLocal < Base
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 @@ def results(query)
result.nil? ? [] : [result.to_hash]
end
end
-end
+end

0 comments on commit ee0a923

Please sign in to comment.
Something went wrong with that request. Please try again.