aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-06-02 16:52:22 +0200
committerPatrik Nyblom <[email protected]>2010-06-02 16:52:22 +0200
commit1461bf4ae09eb97532cec57beefbbf5ca0d52c43 (patch)
tree4527feee36385ed7adc660043af187697c9f227b /lib/stdlib/src
parent750f53bfa7bfd6258504d2f7c441a103d885cce5 (diff)
downloadotp-1461bf4ae09eb97532cec57beefbbf5ca0d52c43.tar.gz
otp-1461bf4ae09eb97532cec57beefbbf5ca0d52c43.tar.bz2
otp-1461bf4ae09eb97532cec57beefbbf5ca0d52c43.zip
Remove outcommented code from erl_lint
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/erl_lint.erl11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl
index 29a949432b..229d455e06 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -741,13 +741,6 @@ bif_clashes(Forms, St) ->
Clashes = ordsets:subtract(ordsets:from_list(Clashes0), Nowarn),
St#lint{clashes=Clashes}.
-%% -spec is_bif_clash(atom(), byte(), lint_state()) -> boolean().
-
-%% is_bif_clash(_Name, _Arity, #lint{clashes=[]}) ->
-%% false;
-%% is_bif_clash(Name, Arity, #lint{clashes=Clashes}) ->
-%% ordsets:is_element({Name,Arity}, Clashes).
-
%% not_deprecated(Forms, State0) -> State
not_deprecated(Forms, St0) ->
@@ -1733,8 +1726,6 @@ gexpr({cons,_Line,H,T}, Vt, St) ->
gexpr_list([H,T], Vt, St);
gexpr({tuple,_Line,Es}, Vt, St) ->
gexpr_list(Es, Vt, St);
-%%gexpr({struct,_Line,_Tag,Es}, Vt, St) ->
-%% gexpr_list(Es, Vt, St);
gexpr({record_index,Line,Name,Field}, _Vt, St) ->
check_record(Line, Name, St,
fun (Dfs, St1) -> record_field(Field, Name, Dfs, St1) end );
@@ -1952,8 +1943,6 @@ expr({bc,_Line,E,Qs}, Vt0, St0) ->
{vtold(Vt,Vt0),St}; %Don't export local variables
expr({tuple,_Line,Es}, Vt, St) ->
expr_list(Es, Vt, St);
-%%expr({struct,Line,Tag,Es}, Vt, St) ->
-%% expr_list(Es, Vt, St);
expr({record_index,Line,Name,Field}, _Vt, St) ->
check_record(Line, Name, St,
fun (Dfs, St1) -> record_field(Field, Name, Dfs, St1) end);