Skip to content

Commit

Permalink
Chore: fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mindreframer committed Feb 1, 2024
1 parent 098a599 commit 05a0b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/maxo_adapt/impl/get_dict.ex
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defmodule MaxoAdapt.Impl.GetDict do

@spec generate_implementation(MaxoAdapt.Utility.behaviour(), term) :: term
defp generate_implementation(callbacks, error) do
Enum.map(callbacks, fn {key, %{spec: spec, doc: doc, args: args, name: name}} ->
Enum.map(callbacks, fn {_key, %{spec: spec, doc: doc, args: args, name: name}} ->
vars = Enum.map(args, &Macro.var(&1, nil))

quote do
Expand Down
2 changes: 1 addition & 1 deletion lib/maxo_adapt/impl/get_env.ex
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ defmodule MaxoAdapt.Impl.GetEnv do

@spec generate_implementation(MaxoAdapt.Utility.behaviour(), term) :: term
defp generate_implementation(callbacks, error) do
Enum.map(callbacks, fn {key, %{spec: spec, doc: doc, args: args, name: name}} ->
Enum.map(callbacks, fn {_key, %{spec: spec, doc: doc, args: args, name: name}} ->
vars = Enum.map(args, &Macro.var(&1, nil))

quote do
Expand Down

0 comments on commit 05a0b9c

Please sign in to comment.