From 23781ae460e0e52ce5d44d4bf48852fefdec94eb Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 25 Feb 2010 19:57:02 +0100 Subject: Fix unused var warning --- src/rebar_port_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -> -- cgit v1.1