aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-04-19 14:23:30 +0200
committerAnders Svensson <[email protected]>2017-06-12 16:13:52 +0200
commit6bf25fd661a43f9c72cf6292965f76fd7570d24f (patch)
tree77fd403029a96249eaae901a586eb5313e9946d1 /lib/diameter
parent3574624cd77afe2acbae81f712e5f4623e3c3c4d (diff)
downloadotp-6bf25fd661a43f9c72cf6292965f76fd7570d24f.tar.gz
otp-6bf25fd661a43f9c72cf6292965f76fd7570d24f.tar.bz2
otp-6bf25fd661a43f9c72cf6292965f76fd7570d24f.zip
Remove unnecessary value mapping
Since value is ignored.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_traffic.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl
index ccfab22e9c..be934a6255 100644
--- a/lib/diameter/src/base/diameter_traffic.erl
+++ b/lib/diameter/src/base/diameter_traffic.erl
@@ -1190,8 +1190,6 @@ get_result(Dict, Msg) ->
try
[throw(A) || N <- ['Result-Code', 'Experimental-Result'],
#diameter_avp{} = A <- [get_avp(Dict, N, Msg)]]
- of
- [] -> false
catch
#diameter_avp{} = A -> A
end.