summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-12 17:09:03 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-12 17:09:03 +0100
commite33d3a568fe1583b783c4df4cc43758e19174137 (patch)
tree6c825cfdaa91f3c7dcd8354b855522318b88ead2 /src
parent24254f7582ae90d95ca122d2dccea4d949562e7c (diff)
rebar_xref: move code to proper place
Diffstat (limited to 'src')
-rw-r--r--src/rebar_xref.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl
index 1392c6f..f5912f8 100644
--- a/src/rebar_xref.erl
+++ b/src/rebar_xref.erl
@@ -46,6 +46,10 @@ xref(Config, _X) ->
false -> xref0(Config, _X)
end.
+%% ===================================================================
+%% Internal functions
+%% ===================================================================
+
xref0(Config, _) ->
%% Spin up xref
{ok, _} = xref:start(xref),
@@ -96,10 +100,6 @@ xref0(Config, _) ->
?FAIL
end.
-%% ===================================================================
-%% Internal functions
-%% ===================================================================
-
check_exports_not_used() ->
{ok, UnusedExports0} = xref:analyze(xref, exports_not_used),
UnusedExports = filter_away_ignored(UnusedExports0),