Silence unused variable warning
This commit is contained in:
parent
9d25631c14
commit
a2b43cd664
|
|
@ -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().
|
||||
|
|
|
|||
Loading…
Reference in New Issue