aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1rt_per_bin.erl
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2012-08-28 12:46:18 +0200
committerKenneth Lundin <[email protected]>2012-08-28 12:46:18 +0200
commitd7cb9ee479189946ccaeb5b5170dbf4a4a478adb (patch)
treef7ab66643c1028b957ef6d14c24695c88562338b /lib/asn1/src/asn1rt_per_bin.erl
parentee5133a635f08409fc0e943ea79145bc36acbe4f (diff)
downloadotp-d7cb9ee479189946ccaeb5b5170dbf4a4a478adb.tar.gz
otp-d7cb9ee479189946ccaeb5b5170dbf4a4a478adb.tar.bz2
otp-d7cb9ee479189946ccaeb5b5170dbf4a4a478adb.zip
Remove Dialyzer warnings
Diffstat (limited to 'lib/asn1/src/asn1rt_per_bin.erl')
-rw-r--r--lib/asn1/src/asn1rt_per_bin.erl2
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