diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-08-30 16:01:26 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-08-30 16:01:26 +0200 |
commit | da477e3fc1bcac8d8afb4d3eef6d250d4eae37e0 (patch) | |
tree | b4d13bd9a97491abb3dbc6112a535b389b73f0a3 /lib/asn1/src/asn1rt_per_bin.erl | |
parent | 4685b50df9f7f4205502142bb3e2aa62ea259400 (diff) | |
parent | d7cb9ee479189946ccaeb5b5170dbf4a4a478adb (diff) | |
download | otp-da477e3fc1bcac8d8afb4d3eef6d250d4eae37e0.tar.gz otp-da477e3fc1bcac8d8afb4d3eef6d250d4eae37e0.tar.bz2 otp-da477e3fc1bcac8d8afb4d3eef6d250d4eae37e0.zip |
Merge branch 'kenneth/asn1/dialyzer-warnings' into maint
* kenneth/asn1/dialyzer-warnings:
Remove Dialyzer warnings
Diffstat (limited to 'lib/asn1/src/asn1rt_per_bin.erl')
-rw-r--r-- | lib/asn1/src/asn1rt_per_bin.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1rt_per_bin.erl b/lib/asn1/src/asn1rt_per_bin.erl index 85988aa21d..e63920dc4e 100644 --- a/lib/asn1/src/asn1rt_per_bin.erl +++ b/lib/asn1/src/asn1rt_per_bin.erl @@ -803,8 +803,6 @@ decode_unconstrained_number(Bytes) -> {Ints,Bytes3} = getoctets_as_list(Bytes2,Len), {dec_integer(Ints),Bytes3}. -dec_pos_integer(Ints) -> - decpint(Ints, 8 * (length(Ints) - 1)). dec_integer(Ints) when hd(Ints) band 255 =< 127 -> %% Positive number decpint(Ints, 8 * (length(Ints) - 1)); dec_integer(Ints) -> %% Negative |