mirror of
https://github.com/correl/rebar.git
synced 2024-12-24 03:00:16 +00:00
Silence warnings, courtesy of Tuncer Ayaz
This commit is contained in:
parent
d51479c37e
commit
fe03778678
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue