Skip to content

Commit 9a6259d

Browse files
author
José Valim
committed
Remove unused variable warning
1 parent 8c8e8b1 commit 9a6259d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_def_local.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
macro_for(_Tuple, _All, #elixir_scope{module=nil}) -> false;
77

8-
macro_for(Tuple, All, #elixir_scope{module=Module,function=Function} = S) ->
8+
macro_for(Tuple, All, #elixir_scope{module=Module,function=Function}) ->
99
try elixir_def:lookup_definition(Module, Tuple) of
1010
{ { Tuple, Kind, Line, _, _, _, _ }, Clauses } when Kind == defmacro; All, Kind == defmacrop ->
1111
elixir_tracker:record_local(Tuple, Module, Function),

0 commit comments

Comments
 (0)