diff options
author | Björn Gustavsson <[email protected]> | 2010-09-07 10:27:14 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-09-07 10:27:14 +0200 |
commit | 03997d5a1c166e8470dd9c888a5dba121144986a (patch) | |
tree | 76ef98d2fc2cf0588392b036be18d984072207c1 /lib/asn1 | |
parent | 4763e0b7b8c4859d9e56f1fc9aa1426eebc8f65d (diff) | |
parent | 88a04a19d751c4c6712fc9b079e16d3976a4d731 (diff) | |
download | otp-03997d5a1c166e8470dd9c888a5dba121144986a.tar.gz otp-03997d5a1c166e8470dd9c888a5dba121144986a.tar.bz2 otp-03997d5a1c166e8470dd9c888a5dba121144986a.zip |
Merge branch 'mk/net-dragonfly-bsd-patches' into dev
* mk/net-dragonfly-bsd-patches:
Remove unused variables
Use proper install method
Add support for DragonFly BSD
Add support for NetBSD
Diffstat (limited to 'lib/asn1')
-rw-r--r-- | lib/asn1/c_src/asn1_erl_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/asn1/c_src/asn1_erl_driver.c b/lib/asn1/c_src/asn1_erl_driver.c index fd284e5800..9dd3a0fd7d 100644 --- a/lib/asn1/c_src/asn1_erl_driver.c +++ b/lib/asn1/c_src/asn1_erl_driver.c @@ -1407,7 +1407,6 @@ int decode_partial(ErlDrvBinary **drv_binary,unsigned char *in_buf, int in_buf_l int msg_index_val; int *msg_index, *tag_index, tmp_index; int tag_seq_length; - char tag_code; /* one of ASN1_SKIPPED, ASN1_OPTIONAL, ASN1_CHOOSEN */ int wanted_tag, next_tag; int buf_end_index = in_buf_len; int ret = 0, length, old_index; @@ -1600,7 +1599,7 @@ int get_value(char *out_buf, { int len, lenoflen, indef=0, skip_len; int ret=0; - int start_index, out_index = 0; + int start_index; /* printf("get_value 1\n\r"); */ if (in_buf[*msg_index] < 0x80){ /* short definite length */ |