diff options
author | Kostis Sagonas <[email protected]> | 2010-11-15 15:44:54 +0200 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2010-11-15 15:44:54 +0200 |
commit | e1f67dda7a9c2736f7b8d5d30fe84f2a2f39a8c1 (patch) | |
tree | 1e87864a13b04b776abc15b28ba66f19eff27b36 /lib/edoc/src/edoc_layout.erl | |
parent | 76378bb4a1a89d08b41d6f3df0edc6c26160bef7 (diff) | |
download | otp-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.erl | 2 |
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 |