From eb67cd9474f6131223dbd2ecda01e0faaaaef17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Thu, 5 Jan 2012 23:00:13 +0100 Subject: syntax_tools: Suppress warning of unused variable --- lib/syntax_tools/src/erl_syntax.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl index 7f58fda519..f74242fb41 100644 --- a/lib/syntax_tools/src/erl_syntax.erl +++ b/lib/syntax_tools/src/erl_syntax.erl @@ -6100,8 +6100,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) -- cgit v1.2.3