aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-05-07 12:53:18 +0200
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:24 +0200
commitf15e0270a6f68e93a7e33aa9e8aed2345f74dcd8 (patch)
treed4b214ad2a274d965b7a76eab0024bf562cd4c28
parent4709d67f92bf89c264e38fbf94e3324edd922ac8 (diff)
downloadotp-f15e0270a6f68e93a7e33aa9e8aed2345f74dcd8.tar.gz
otp-f15e0270a6f68e93a7e33aa9e8aed2345f74dcd8.tar.bz2
otp-f15e0270a6f68e93a7e33aa9e8aed2345f74dcd8.zip
asn1ct_gen_per: Remove useless renewal of 'enumval'
Since fbcb7fe589edbfe79d10d7fe01be8a9f77926b89, the 'enumval' variable is no longer used.
-rw-r--r--lib/asn1/src/asn1ct_gen_per.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen_per.erl b/lib/asn1/src/asn1ct_gen_per.erl
index 12a4cd240c..d604b9e24c 100644
--- a/lib/asn1/src/asn1ct_gen_per.erl
+++ b/lib/asn1/src/asn1ct_gen_per.erl
@@ -122,7 +122,6 @@ gen_encode_prim(Erules, #type{}=D, Value) ->
false -> no;
{_,Pa0} -> Pa0
end,
- asn1ct_name:new(enumval),
case D#type.def of
'INTEGER' ->
Args = [{asis,asn1ct_imm:effective_constraint(integer,Constraint)},