Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removes compile-time warning from htoad_transform

  • Loading branch information...
commit bab5601fe9c9748557ab8a6067d804d9fb1256d7 1 parent 7357a94
Yurii Rashkovskii authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/htoad/src/htoad_transform.erl
View
2  apps/htoad/src/htoad_transform.erl
@@ -58,7 +58,7 @@ do_transform(attribute,{attribute, _, rules, Rules0} = Attr, _Context, #state{ r
do_transform(attribute,{attribute, _, htoad_absname, AbsName} = Attr, _Context, #state{} = State) ->
{Attr, false, State#state{ absname = AbsName }};
-do_transform(function, {function, _, Fun, Arity, _Cs} = Form, _Context, #state{ rules = Rules } = State) ->
+do_transform(function, {function, _, Fun, _Arity, _Cs} = Form, _Context, #state{ rules = Rules } = State) ->
case lists:member(Fun, Rules) of
false ->
{Form, true, State#state{ current_rule = [] }};
Please sign in to comment.
Something went wrong with that request. Please try again.