diff options
author | Anders Svensson <[email protected]> | 2016-03-07 22:35:46 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2016-03-07 22:52:25 +0100 |
commit | 073d4a8a08b1cfad7720511b10819ec2db76aeb7 (patch) | |
tree | 975ecef3eebb5a3c5980320a85772f5f4cea490c /lib/diameter/src/base/diameter_traffic.erl | |
parent | 184bc747089398d7fd74aef9bce48b42e8e71464 (diff) | |
download | otp-073d4a8a08b1cfad7720511b10819ec2db76aeb7.tar.gz otp-073d4a8a08b1cfad7720511b10819ec2db76aeb7.tar.bz2 otp-073d4a8a08b1cfad7720511b10819ec2db76aeb7.zip |
Fix dialyzer warnings
Whether making record declarations unreadable to compensate for
dialyzer's ignorance of match specs is worth it is truly debatable.
Diffstat (limited to 'lib/diameter/src/base/diameter_traffic.erl')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl index 516353219a..c169d3fc2c 100644 --- a/lib/diameter/src/base/diameter_traffic.erl +++ b/lib/diameter/src/base/diameter_traffic.erl @@ -1565,6 +1565,8 @@ answer(Pkt, Req) -> a(Pkt, SvcName, ModX, AE, Req). +-spec a(_, _, _) -> no_return(). %% silence dialyzer + a(#diameter_packet{errors = Es} = Pkt, SvcName, |