Remove gratuitous lists:append/1

This commit is contained in:
Tuncer Ayaz 2012-06-12 23:40:42 +02:00
parent 8e66225e06
commit c1a891ce33

View file

@ -237,7 +237,7 @@ report(Messages) ->
format_errors(Source, Extra, Errors) ->
AbsSource = filename:absname(Source),
[lists:append([format_error(AbsSource, Extra, Desc) || Desc <- Descs])
[[format_error(AbsSource, Extra, Desc) || Desc <- Descs]
|| {_, Descs} <- Errors].
format_error(AbsSource, Extra, {{Line, Column}, Mod, Desc}) ->