summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-12-28 07:24:15 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-12-28 07:24:15 -0700
commitfe03778678fd98a62d3d2ca97011cb8261383394 (patch)
tree6d3a6730bea9f357b6d8e96b513c9c3f8a11c4b5
parentd51479c37e76545786644516d53a9064a9134a1b (diff)
Silence warnings, courtesy of Tuncer Ayaz
-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