summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-02-25 19:57:02 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-02-25 19:57:02 +0100
commit23781ae460e0e52ce5d44d4bf48852fefdec94eb (patch)
tree453ccbd614cc2f4721b7dd01b7e0794246e8fb00 /src
parent8a3ad89f7c6978f26800d65e8db274674dc6c0a9 (diff)
Fix unused var warning
Diffstat (limited to 'src')
-rw-r--r--src/rebar_port_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index b99ae0b..dace112 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -237,7 +237,7 @@ merge_each_var([{Key, Value} | Rest], Vars) ->
expand_vars_loop(Vars) ->
expand_vars_loop(Vars, 10).
-expand_vars_loop(Vars0, 0) ->
+expand_vars_loop(_, 0) ->
?ABORT("Max. expansion reached for ENV vars!\n", []);
expand_vars_loop(Vars0, Count) ->
Vars = lists:foldl(fun({Key, Value}, Acc) ->