diff options
author | Hans Bolinder <[email protected]> | 2011-05-31 12:51:05 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-05-31 12:51:05 +0200 |
commit | a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58 (patch) | |
tree | 4394acd9c5d7a344bc23e9f22a8e6c1af9c9844c /lib/edoc/src/edoc_wiki.erl | |
parent | f6a77186a608fb08e2ffc65d06c4166b7127e4a0 (diff) | |
download | otp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.tar.gz otp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.tar.bz2 otp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.zip |
Add no_return to the built-in types
Also fixed a Dialyzer warning (edoc_wiki.erl).
Diffstat (limited to 'lib/edoc/src/edoc_wiki.erl')
-rw-r--r-- | lib/edoc/src/edoc_wiki.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/edoc/src/edoc_wiki.erl b/lib/edoc/src/edoc_wiki.erl index 9a31bc9a82..ba33198787 100644 --- a/lib/edoc/src/edoc_wiki.erl +++ b/lib/edoc/src/edoc_wiki.erl @@ -360,10 +360,7 @@ par_text(Cs, As, Bs, E, Es) -> [] -> Bs; _ -> [#xmlElement{name = p, content = Es1} | Bs] end, - Bs1 = case Ss of - [] -> Bs0; - _ -> [#xmlText{value = Ss} | Bs0] - end, + Bs1 = [#xmlText{value = Ss} | Bs0], case Cs2 of [] -> par(Es, [], Bs1); |