aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-05-05 14:11:33 +0200
committerBjörn Gustavsson <[email protected]>2014-06-05 13:46:27 +0200
commit19058b298952fa9d5120934637a57b859012c9c2 (patch)
treeffb7dce409e6a3ef7a0c6353a710ae4ba1c57bca /lib/asn1/src
parent20905fcfbbadcf88106792d2935b30728f779a18 (diff)
downloadotp-19058b298952fa9d5120934637a57b859012c9c2.tar.gz
otp-19058b298952fa9d5120934637a57b859012c9c2.tar.bz2
otp-19058b298952fa9d5120934637a57b859012c9c2.zip
PER: Remove unnecessary clause for handling DEFAULT
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_constructed_per.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1ct_constructed_per.erl b/lib/asn1/src/asn1ct_constructed_per.erl
index ed3f6f886e..a91404ed54 100644
--- a/lib/asn1/src/asn1ct_constructed_per.erl
+++ b/lib/asn1/src/asn1ct_constructed_per.erl
@@ -426,8 +426,7 @@ gen_dec_open_type(Erule, Val, {Xmod,Xtype}, LeadingAttr,
emit([Term," = ",{asis,F},"(",TmpTerm,", ",Val,")"]).
dec_objset_optional(N, {'DEFAULT',Val}) ->
- dec_objset_optional_1(N, Val),
- dec_objset_optional_1(N, asn1_DEFAULT);
+ dec_objset_optional_1(N, Val);
dec_objset_optional(N, 'OPTIONAL') ->
dec_objset_optional_1(N, asn1_NOVALUE);
dec_objset_optional(_N, mandatory) -> ok.