diff --git a/src/rebar_reltool.erl b/src/rebar_reltool.erl index 9891354..19c7433 100644 --- a/src/rebar_reltool.erl +++ b/src/rebar_reltool.erl @@ -163,7 +163,7 @@ app_exists(AppTuple, Server) when is_tuple(AppTuple) -> app_exists(element(1, AppTuple), Server). -run_reltool(Server, Config, ReltoolConfig) -> +run_reltool(Server, _Config, ReltoolConfig) -> case reltool:get_target_spec(Server) of {ok, Spec} -> %% Pull the target dir and make sure it exists diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl index c93995b..1f67a37 100644 --- a/src/rebar_xref.erl +++ b/src/rebar_xref.erl @@ -77,9 +77,6 @@ xref(Config, _) -> ok. -foobar() -> - ok. - %% =================================================================== %% Internal functions %% =================================================================== @@ -137,7 +134,7 @@ ks(Key, List) -> display_mfas([], _Message) -> ok; -display_mfas([{Mod, Fun, Args} = MFA | Rest], Message) -> +display_mfas([{_Mod, Fun, Args} = MFA | Rest], Message) -> {Source, Line} = find_mfa_source(MFA), ?CONSOLE("~s:~w: Warning: function ~s/~w ~s\n", [Source, Line, Fun, Args, Message]), display_mfas(Rest, Message).