Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Apr 15, 2023
1 parent 99bbe17 commit 49afc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fakeredis/geo_commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def georadius(*args)
def georadiusbymember(*args)
args = args.dup
raise_argument_error("georadiusbymember") if args.size < 4
key, member, radius, unit, *rest = args
key, member, radius, unit, *_ = args
raise_argument_error("georadiusbymember") unless DISTANCE_UNITS.has_key?(unit)
radius *= DISTANCE_UNITS[unit]

Expand Down

0 comments on commit 49afc6b

Please sign in to comment.