Fix dialyzer warning

This commit is contained in:
Juan Jose Comellas 2013-07-18 22:06:24 -03:00
parent 3a15ecc1ac
commit 63fd9ed7bc

View File

@ -889,7 +889,7 @@ get_env_var(Prefix, Suffix, []) ->
Prefix ++ Suffix.
-spec line_length() -> non_neg_integer().
-spec line_length() -> 0..?LINE_LENGTH.
line_length() ->
case io:columns() of
{ok, Columns} when Columns < ?LINE_LENGTH ->