Silence unused variable warning

This commit is contained in:
Tony Garnock-Jones 2009-05-18 17:33:21 +01:00
parent 9d25631c14
commit a2b43cd664
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ print_banner() ->
{"log", log_location(kernel)},
{"sasl log", log_location(sasl)},
{"database dir", rabbit_mnesia:dir()}],
DescrLen = lists:max([length(K) || {K, V} <- Settings]),
DescrLen = lists:max([length(K) || {K, _V} <- Settings]),
Format = "~-" ++ integer_to_list(DescrLen) ++ "s: ~s~n",
lists:foreach(fun ({K, V}) -> io:format(Format, [K, V]) end, Settings),
io:nl().