aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/src/engine/megaco_sdp.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-03-03 18:56:43 +0100
committerMicael Karlberg <[email protected]>2011-03-03 18:56:43 +0100
commit2a1765542adc276ad8336307d1150a2aab8d837f (patch)
tree8c9aa8fb9f7c2e1b08e6b28ac1b708beed310664 /lib/megaco/src/engine/megaco_sdp.erl
parent890ccb33dd4ffd754a232a676433b3bc3b469bc0 (diff)
parentc4241524ea42871f6cb601783ea56e18449f7cc1 (diff)
downloadotp-2a1765542adc276ad8336307d1150a2aab8d837f.tar.gz
otp-2a1765542adc276ad8336307d1150a2aab8d837f.tar.bz2
otp-2a1765542adc276ad8336307d1150a2aab8d837f.zip
Merge branch 'bmk/megaco/miscellaneous_dialyzer/OTP-9075' into dev
Fixing miscellaneous "things" "detected" by dialyzer. Also updated end date for a number of erts files.
Diffstat (limited to 'lib/megaco/src/engine/megaco_sdp.erl')
-rw-r--r--lib/megaco/src/engine/megaco_sdp.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/megaco/src/engine/megaco_sdp.erl b/lib/megaco/src/engine/megaco_sdp.erl
index 37f28cac59..96732584fb 100644
--- a/lib/megaco/src/engine/megaco_sdp.erl
+++ b/lib/megaco/src/engine/megaco_sdp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2010. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2011. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -877,9 +877,7 @@ decode_bandwidth_bwt("CT") ->
decode_bandwidth_bwt("AS") ->
as;
decode_bandwidth_bwt(BwType) when is_list(BwType) ->
- BwType;
-decode_bandwidth_bwt(BadBwType) ->
- error({invalid_bandwidth_bwtype, BadBwType}).
+ BwType.
encode_bandwidth_bwt(ct) ->
"CT";