mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Fix compiler warnings
This commit is contained in:
parent
ad7a494bde
commit
aea3184139
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue