aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-04-14 15:20:59 +0200
committerBjörn Gustavsson <[email protected]>2014-04-16 14:05:56 +0200
commitde701d6bbdc4558ccd9226ff7dff3b0a5c618543 (patch)
treee94ca6b92fa34429448d523cb231402675ebe976 /lib/asn1/src/asn1ct_gen.erl
parent0280880e66f6ed642e325b3810565714d2a7f4fb (diff)
downloadotp-de701d6bbdc4558ccd9226ff7dff3b0a5c618543.tar.gz
otp-de701d6bbdc4558ccd9226ff7dff3b0a5c618543.tar.bz2
otp-de701d6bbdc4558ccd9226ff7dff3b0a5c618543.zip
Remove unused arguments for asn1ct_gen_ber_bin_v2:gen_dec_prim()
Make the source code a little bit cleaner.
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl
index e3df7de27e..bfe7df9713 100644
--- a/lib/asn1/src/asn1ct_gen.erl
+++ b/lib/asn1/src/asn1ct_gen.erl
@@ -542,8 +542,7 @@ gen_part_decode_funcs({constructed,bif},TypeName,
emit([" 'dec_",TypeName,"'(Data,",{asis,Tag},")"]);
gen_part_decode_funcs({primitive,bif},_TypeName,
{_Name,undecoded,Tag,Type}) ->
- % Argument no 6 is 0, i.e. bit 6 for primitive encoding.
- asn1ct_gen_ber_bin_v2:gen_dec_prim(ber_bin_v2,Type,"Data",Tag,[],0,", mandatory, ");
+ asn1ct_gen_ber_bin_v2:gen_dec_prim(Type, "Data", Tag);
gen_part_decode_funcs(WhatKind,_TypeName,{_,Directive,_,_}) ->
throw({error,{asn1,{"Not implemented yet",WhatKind," partial incomplete directive:",Directive}}}).