summaryrefslogtreecommitdiff
path: root/src/rebar_prv_xref.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-08 14:17:03 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-08 14:17:03 -0500
commit6fde1748b9c7a67db1dbd1fb051d630c79656b3a (patch)
tree405637c328abc04aa3dce2e9bebe4d2a7b5e1c2e /src/rebar_prv_xref.erl
parent1001eefc2b0f0979c1a07fc309625ee04df60910 (diff)
fix dialyzer warnings, except 'no local return' warnings
Diffstat (limited to 'src/rebar_prv_xref.erl')
-rw-r--r--src/rebar_prv_xref.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_xref.erl b/src/rebar_prv_xref.erl
index 623e946..f600273 100644
--- a/src/rebar_prv_xref.erl
+++ b/src/rebar_prv_xref.erl
@@ -88,7 +88,7 @@ desc() ->
" - (\"mod\":\".*foo\"/\"4\"))",[]}]}
]).
--spec prepare(rebar_state:t()) -> {[file:filename()], [atom()]}.
+-spec prepare(rebar_state:t()) -> [atom()].
prepare(State) ->
{ok, _} = xref:start(xref),
ok = xref:set_library_path(xref, code_path(State)),