Skip to content

Commit fc6f7c5

Browse files
committed
Fix unused warnings
1 parent 1bee85e commit fc6f7c5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/elixir/src/elixir_quote.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ escape(Expr, Unquote) ->
151151

152152
%% Quotes an expression and return its quoted Elixir AST.
153153

154-
quote({unquote_splicing, _, [_]}, Binding, #elixir_quote{unquote=true}, E) ->
154+
quote({unquote_splicing, _, [_]}, _Binding, #elixir_quote{unquote=true}, _) ->
155155
argument_error(<<"unquote_splicing only works inside arguments and block contexts, "
156156
"wrap it in parens if you want it to work with one-liners">>);
157157

lib/mix/lib/mix/tasks/deps.unlock.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,4 @@ defmodule Mix.Tasks.Deps.Unlock do
4141
"the --all option to unlock all dependencies"
4242
end
4343
end
44-
45-
defp unlock(apps) do
46-
47-
end
4844
end

0 commit comments

Comments
 (0)