Silence warnings, courtesy of Tuncer Ayaz

This commit is contained in:
Dave Smith 2009-12-28 07:24:15 -07:00
parent d51479c37e
commit fe03778678
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
%% Public API
%% ===================================================================
escriptize(Config, AppFile) ->
escriptize(_Config, AppFile) ->
%% Extract the application name from the archive -- this will be be what
%% we call the output script
{ok, AppName, _AppData} = rebar_app_utils:load_app_file(AppFile),

View file

@ -85,7 +85,7 @@ now_str() ->
%% Internal functions
%% ====================================================================
match_first([], Val) ->
match_first([], _Val) ->
nomatch;
match_first([{Regex, MatchValue} | Rest], Val) ->
case re:run(Val, Regex, [{capture, none}]) of