diff options
author | Martti Kuparinen <martti.kuparinen@iki.fi> | 2010-06-23 11:15:30 +0300 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2010-08-13 11:09:11 +0200 |
commit | 88a04a19d751c4c6712fc9b079e16d3976a4d731 (patch) | |
tree | 7ee6383f7ed95c21f5a1f1873f452681c5b6c212 /lib/asn1/c_src | |
parent | 69600625564ab3338b2bb2cbbc83da1ae28d6813 (diff) | |
download | otp-88a04a19d751c4c6712fc9b079e16d3976a4d731.tar.gz otp-88a04a19d751c4c6712fc9b079e16d3976a4d731.tar.bz2 otp-88a04a19d751c4c6712fc9b079e16d3976a4d731.zip |
Remove unused variables
Diffstat (limited to 'lib/asn1/c_src')
-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 */ |