aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_layout.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-11-15 15:44:54 +0200
committerKostis Sagonas <[email protected]>2010-11-15 15:44:54 +0200
commite1f67dda7a9c2736f7b8d5d30fe84f2a2f39a8c1 (patch)
tree1e87864a13b04b776abc15b28ba66f19eff27b36 /lib/edoc/src/edoc_layout.erl
parent76378bb4a1a89d08b41d6f3df0edc6c26160bef7 (diff)
downloadotp-e1f67dda7a9c2736f7b8d5d30fe84f2a2f39a8c1.tar.gz
otp-e1f67dda7a9c2736f7b8d5d30fe84f2a2f39a8c1.tar.bz2
otp-e1f67dda7a9c2736f7b8d5d30fe84f2a2f39a8c1.zip
Fix various dialyzer warnings
Add appropriate specs to shut off dialyzer's no_return warnings and also fix an erroneous use of lists:concat/1 instead of lists:append/1.
Diffstat (limited to 'lib/edoc/src/edoc_layout.erl')
-rw-r--r--lib/edoc/src/edoc_layout.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edoc/src/edoc_layout.erl b/lib/edoc/src/edoc_layout.erl
index 900f0b3040..6cc2f5cd9b 100644
--- a/lib/edoc/src/edoc_layout.erl
+++ b/lib/edoc/src/edoc_layout.erl
@@ -482,7 +482,7 @@ local_defs([]) -> [];
local_defs(Es) ->
[?NL,
{ul, [{class, "definitions"}],
- lists:concat([[{li, [{tt, localdef(E)}]}, ?NL] || E <- Es])}].
+ lists:append([[{li, [{tt, localdef(E)}]}, ?NL] || E <- Es])}].
localdef(E = #xmlElement{content = Es}) ->
(case get_elem(typevar, Es) of