otp-xmerl

Code pulled with git from git://github.com/erlang/otp.git with the last commit being

These are Current warnings for otp-xmerl.

dialyzer -n -q -Wno_improper_lists --apps xmerl
xmerl_b64Bin.erl:226: The pattern <Other, _, _, _, _, _, _> can never match since previous clauses completely covered the type <0 | 4 | 5 | 6 | 8 | 9 | 10 | 13 | 14 | 15,_,[0 | 3 | 7 | 8 | 9 | 11 | 12 | 16],['$undefined' | tuple()],tuple(),_,{'no_func' | {_,_},_}>
xmerl_b64Bin.erl:305: The pattern <_, _, _, _, T, _, _> can never match since previous clauses completely covered the type <12,'=',[0 | 3 | 7 | 8 | 9 | 11 | 12 | 16,...],['$undefined' | tuple(),...],tuple(),_,{'no_func' | {_,_},_}>
xmerl_sax_parser_latin1.erl:190: The call xmerl_sax_parser_latin1:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_latin1.erl:192: The call xmerl_sax_parser_latin1:cf('undefined_bom2',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_latin1.erl:193: The pattern <<<'undefined':8/integer-unit:1,Rest/binary-unit:8>>, State> can never match the type <_,_>
xmerl_sax_parser_latin1.erl:1737: The call xmerl_sax_parser_latin1:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_latin1.erl:1739: The call xmerl_sax_parser_latin1:cf('undefined_bom2',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_latin1.erl:1740: The pattern <<<'undefined':8/integer-unit:1,Rest/binary-unit:8>>, State> can never match the type <_,_>
xmerl_sax_parser_list.erl:190: The call xmerl_sax_parser_list:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([any()],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_list.erl:192: The call xmerl_sax_parser_list:cf('undefined_bom2',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([any()],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_list.erl:210: The call xmerl_sax_parser_list:cf(Bytes::binary(),State::#xmerl_sax_parser_state{},fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([any()],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_list.erl:1248: The call xmerl_sax_parser_list:cf(Bytes::binary(),State::#xmerl_sax_parser_state{},Acc::any(),fun((_,_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([1..255],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},any(),fun((_,_,_) -> any()))
xmerl_sax_parser_list.erl:1737: The call xmerl_sax_parser_list:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([any()],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_list.erl:1739: The call xmerl_sax_parser_list:cf('undefined_bom2',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: ([any()],#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_utf16be.erl:190: The call xmerl_sax_parser_utf16be:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_utf16be.erl:1737: The call xmerl_sax_parser_utf16be:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_utf16le.erl:190: The call xmerl_sax_parser_utf16le:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_sax_parser_utf16le.erl:1737: The call xmerl_sax_parser_utf16le:cf('undefined_bom1',State::any(),fun((_,_) -> any())) will never return since it differs in the 1st argument from the success typing arguments: (binary(),#xmerl_sax_parser_state{continuation_fun::fun((_) -> any())},fun((_,_) -> any()))
xmerl_scan.erl:1011: The created fun has no local return
xmerl_scan.erl:1021: The created fun has no local return
xmerl_scan.erl:1035: The created fun has no local return
xmerl_scan.erl:1059: The created fun has no local return
xmerl_scan.erl:1067: The created fun has no local return
xmerl_scan.erl:1090: The created fun has no local return
xmerl_scan.erl:1126: The created fun has no local return
xmerl_scan.erl:1153: The created fun has no local return
xmerl_scan.erl:1181: The created fun has no local return
xmerl_scan.erl:1195: The created fun has no local return
xmerl_scan.erl:1218: The created fun has no local return
xmerl_scan.erl:1238: The created fun has no local return
xmerl_scan.erl:1550: The created fun has no local return
xmerl_scan.erl:1583: The created fun has no local return
xmerl_scan.erl:1604: The created fun has no local return
xmerl_scan.erl:1746: The created fun has no local return
xmerl_scan.erl:1755: The created fun has no local return
xmerl_scan.erl:1799: The created fun has no local return
xmerl_scan.erl:1857: The created fun has no local return
xmerl_scan.erl:1890: The created fun has no local return
xmerl_scan.erl:1908: The created fun has no local return
xmerl_scan.erl:1937: The created fun has no local return
xmerl_scan.erl:1975: The created fun has no local return
xmerl_scan.erl:2016: The created fun has no local return
xmerl_scan.erl:2063: The created fun has no local return
xmerl_scan.erl:2072: The created fun has no local return
xmerl_scan.erl:2100: The created fun has no local return
xmerl_scan.erl:2345: The created fun has no local return
xmerl_scan.erl:2386: The created fun has no local return
xmerl_scan.erl:2519: The created fun has no local return
xmerl_scan.erl:2533: The created fun has no local return
xmerl_scan.erl:2637: The created fun has no local return
xmerl_scan.erl:2665: The created fun has no local return
xmerl_scan.erl:2717: The created fun has no local return
xmerl_scan.erl:2742: The created fun has no local return
xmerl_scan.erl:2784: The created fun has no local return
xmerl_scan.erl:2869: The created fun has no local return
xmerl_scan.erl:2884: The created fun has no local return
xmerl_scan.erl:2958: The created fun has no local return
xmerl_scan.erl:3008: The created fun has no local return
xmerl_scan.erl:3085: The created fun has no local return
xmerl_scan.erl:3097: The created fun has no local return
xmerl_scan.erl:3115: The created fun has no local return
xmerl_scan.erl:3127: The created fun has no local return
xmerl_scan.erl:3162: The created fun has no local return
xmerl_scan.erl:3196: The created fun has no local return
xmerl_scan.erl:3283: The created fun has no local return
xmerl_scan.erl:3434: The created fun has no local return
xmerl_scan.erl:3478: The created fun has no local return
xmerl_scan.erl:3511: The created fun has no local return
xmerl_scan.erl:3537: The created fun has no local return
xmerl_scan.erl:3583: The created fun has no local return
xmerl_scan.erl:3851: The created fun has no local return