diff options
author | Björn Gustavsson <[email protected]> | 2014-05-05 14:11:33 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-06-05 13:46:27 +0200 |
commit | 19058b298952fa9d5120934637a57b859012c9c2 (patch) | |
tree | ffb7dce409e6a3ef7a0c6353a710ae4ba1c57bca | |
parent | 20905fcfbbadcf88106792d2935b30728f779a18 (diff) | |
download | otp-19058b298952fa9d5120934637a57b859012c9c2.tar.gz otp-19058b298952fa9d5120934637a57b859012c9c2.tar.bz2 otp-19058b298952fa9d5120934637a57b859012c9c2.zip |
PER: Remove unnecessary clause for handling DEFAULT
-rw-r--r-- | lib/asn1/src/asn1ct_constructed_per.erl | 3 |
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. |