summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_escripter.erl2
-rw-r--r--src/rebar_utils.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_escripter.erl b/src/rebar_escripter.erl
index b18b436..2142c63 100644
--- a/src/rebar_escripter.erl
+++ b/src/rebar_escripter.erl
@@ -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),
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index b263644..902feab 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -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