aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_ucd.c
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2016-05-04 19:14:27 +0200
committerAnders Svensson <[email protected]>2016-05-04 19:14:27 +0200
commit47092580a7ca6de581abf672e45a1c11e1d4561e (patch)
tree58a91fcaa64e851ebc5a4fdc2592c046f415b146 /erts/emulator/pcre/pcre_ucd.c
parent9169589569cda14c1c142cc396ab612697972dea (diff)
downloadotp-47092580a7ca6de581abf672e45a1c11e1d4561e.tar.gz
otp-47092580a7ca6de581abf672e45a1c11e1d4561e.tar.bz2
otp-47092580a7ca6de581abf672e45a1c11e1d4561e.zip
Suppress dialyzer warning
This one: diameter_tcp.erl:928: (call) The call diameter_tcp:throttle({'timeout',_},#transport{socket::port() | {'sslsocket',_,_},parent::pid(),module::atom(),frag::binary() | {non_neg_integer(),non_neg_integer(),binary(),[binary()]},ssl::boolean() | [any()],timeout::'infinity' | non_neg_integer(),tref::'false' | reference(),flush::boolean(),throttle_cb::'false' | fun() | maybe_improper_list(fun() | maybe_improper_list(any(),[any()]) | {atom(),atom(),[any()]},[any()]) | {atom(),atom(),[any()]},throttled::'true' | binary()}) will never return since it differs in the 1st argument from the success typing arguments: ('discard' | 'ok' | binary() | pid() | {'discard' | 'ok' | binary() | pid(),'false' | fun() | [fun() | [any()] | {atom(),atom(),[any()]}] | {atom(),atom(),[any()]}},#transport{socket::port() | {'sslsocket',_,_},parent::pid(),module::atom(),frag::binary() | {non_neg_integer(),non_neg_integer(),binary(),[binary()]},ssl::boolean() | [any()],timeout::'infinity' | non_neg_integer(),tref::'false' | reference(),flush::boolean(),throttle_cb::'false' | fun() | [fun() | [any()] | {atom(),atom(),[any()]}] | {atom(),atom(),[any()]},throttled::binary()}) It's true that the clause doesn't return, because of the throw, and that's the intention.
Diffstat (limited to 'erts/emulator/pcre/pcre_ucd.c')
0 files changed, 0 insertions, 0 deletions