diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-01-05 23:00:13 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-01-05 23:00:13 +0100 |
commit | eb67cd9474f6131223dbd2ecda01e0faaaaef17d (patch) | |
tree | 22845442271c63510f672f4129bebc67b0c9bc8b | |
parent | 976f8018e237999b586866309c4284fa5e6e2c59 (diff) | |
download | otp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.tar.gz otp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.tar.bz2 otp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.zip |
syntax_tools: Suppress warning of unused variable
-rw-r--r-- | lib/syntax_tools/src/erl_syntax.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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) |