aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-05 23:00:13 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-05 23:00:13 +0100
commiteb67cd9474f6131223dbd2ecda01e0faaaaef17d (patch)
tree22845442271c63510f672f4129bebc67b0c9bc8b /lib/syntax_tools/src
parent976f8018e237999b586866309c4284fa5e6e2c59 (diff)
downloadotp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.tar.gz
otp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.tar.bz2
otp-eb67cd9474f6131223dbd2ecda01e0faaaaef17d.zip
syntax_tools: Suppress warning of unused variable
Diffstat (limited to 'lib/syntax_tools/src')
-rw-r--r--lib/syntax_tools/src/erl_syntax.erl3
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)