diff options
author | Anders Svensson <[email protected]> | 2017-04-17 18:18:21 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-06-12 16:13:52 +0200 |
commit | 7dc93e6ed372c37d45be2db156e8a8a6b88fd4ec (patch) | |
tree | c8268573acc2d75c4f8ecc301daa7a97229a2e3f /lib | |
parent | 9f2e4404374d7352a6296e287b6066ff86a604f9 (diff) | |
download | otp-7dc93e6ed372c37d45be2db156e8a8a6b88fd4ec.tar.gz otp-7dc93e6ed372c37d45be2db156e8a8a6b88fd4ec.tar.bz2 otp-7dc93e6ed372c37d45be2db156e8a8a6b88fd4ec.zip |
Don't match for no useful reason
Diffstat (limited to 'lib')
-rw-r--r-- | lib/diameter/src/base/diameter_codec.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_codec.erl b/lib/diameter/src/base/diameter_codec.erl index 54f5fd2e25..8efc0801af 100644 --- a/lib/diameter/src/base/diameter_codec.erl +++ b/lib/diameter/src/base/diameter_codec.erl @@ -737,9 +737,8 @@ pack_avp(Code, Flags, VendorId, Data) -> %% %% Prepend the vendor id as required. -pack_avp(Code, Flags, Sz, Vid, Data, Pad) +pack_avp(Code, Flags, Sz, _Vid, Data, Pad) when 0 == Flags band 2#10000000 -> - undefined = Vid, %% sanity check pack_avp(Code, Flags, Sz, 0, 0, Data, Pad); pack_avp(Code, Flags, Sz, Vid, Data, Pad) -> |