diff options
author | Björn Gustavsson <[email protected]> | 2014-01-31 13:11:29 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-01-31 16:04:30 +0100 |
commit | b7ec407716059dd2b8806a2f43e415216bef95ea (patch) | |
tree | 87db5e933b107cc15a3504bb0449fb9a8d37abeb /lib/asn1 | |
parent | 3cff534f38d9600ae6e02d8dc361c6e35826ab43 (diff) | |
download | otp-b7ec407716059dd2b8806a2f43e415216bef95ea.tar.gz otp-b7ec407716059dd2b8806a2f43e415216bef95ea.tar.bz2 otp-b7ec407716059dd2b8806a2f43e415216bef95ea.zip |
asn1ct_check: Remove useless call to check_integer/3
check_integer/3 can check nothing for an INTEGER without any named
values. Remove the useless call to silence a dialyzer warning for
unmatched return.
Diffstat (limited to 'lib/asn1')
-rw-r--r-- | lib/asn1/src/asn1ct_check.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl index 46ed94bea4..5a88451012 100644 --- a/lib/asn1/src/asn1ct_check.erl +++ b/lib/asn1/src/asn1ct_check.erl @@ -3077,7 +3077,6 @@ check_type(S=#state{recordtopname=TopName},Type,Ts) when is_record(Ts,type) -> Ct=maybe_illicit_implicit_tag(open_type,Tag), TempNewDef#newt{type='ASN1_OPEN_TYPE',tag=Ct}; 'INTEGER' -> - check_integer(S,[],Constr), TempNewDef#newt{tag= merge_tags(Tag,?TAG_PRIMITIVE(?N_INTEGER))}; |