Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

syntax_tools: Suppress warning of unused variable

  • Loading branch information...
commit fac28bc3862337745cdf452836cd966933b67bcb 1 parent a81ef21
@psyeugenic psyeugenic authored Richard Carlsson committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/erl_syntax.erl
View
3  src/erl_syntax.erl
@@ -5613,8 +5613,9 @@ implicit_fun_name(Node) ->
arity_qualifier(
set_pos(atom(Atom), Pos),
set_pos(integer(Arity), Pos)));
- {'fun', Pos, {function, Module, Atom, Arity}} ->
+ {'fun', _Pos, {function, Module, Atom, Arity}} ->
%% New in R15: fun M:F/A.
+ %% XXX: Perhaps set position for this aswell?
module_qualifier(Module, arity_qualifier(Atom, Arity));
Node1 ->
data(Node1)
Please sign in to comment.
Something went wrong with that request. Please try again.