diff options
author | Anders Svensson <[email protected]> | 2017-06-12 20:42:52 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-06-12 20:42:52 +0200 |
commit | 19ad1805bfc895b12ea692e713cbfd252c44d147 (patch) | |
tree | 55ad23d321b2985de03bf1ce0045f4055f9d3bd2 /lib/diameter/src | |
parent | 946cc275f79fb8b96039d7e6c0e49b3e822ecdd6 (diff) | |
download | otp-19ad1805bfc895b12ea692e713cbfd252c44d147.tar.gz otp-19ad1805bfc895b12ea692e713cbfd252c44d147.tar.bz2 otp-19ad1805bfc895b12ea692e713cbfd252c44d147.zip |
Fix dialyzer warnings
diameter_sctp.erl:292: Record construction #transport{parent::pid(),mode::{'accept',atom() | pid() | port() | {atom(),atom()}},active::'false',recv::'true',os::0,packet::'true',message_cb::'undefined',send::'false'} violates the declared type of field message_cb::'false' | fun() | maybe_improper_list(fun() | maybe_improper_list(any(),[any()]) | {atom(),atom(),[any()]},[any()]) | {atom(),atom(),[any()]}
diameter_sctp.erl:302: Record construction #transport{mode::{'accept',atom() | pid() | port() | {atom(),atom()}},active::'false',recv::'true',os::0,packet::'true',message_cb::'undefined',send::'false'} violates the declared type of field message_cb::'false' | fun() | maybe_improper_list(fun() | maybe_improper_list(any(),[any()]) | {atom(),atom(),[any()]},[any()]) | {atom(),atom(),[any()]}
Diffstat (limited to 'lib/diameter/src')
-rw-r--r-- | lib/diameter/src/transport/diameter_sctp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl index e47febaf99..f243f2b7cd 100644 --- a/lib/diameter/src/transport/diameter_sctp.erl +++ b/lib/diameter/src/transport/diameter_sctp.erl @@ -104,7 +104,7 @@ os = 0 :: uint(), %% next output stream packet = true :: boolean() %% legacy transport_data? | raw, - message_cb :: false | diameter:evaluable(), + message_cb = false :: false | diameter:evaluable(), send = false :: pid() | boolean()}). %% sending process %% Monitor process state. |