aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-03 17:37:56 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-03 17:37:56 +0100
commitce9cab49a50e83ed902c659c699bd96d24f164f4 (patch)
tree0b7ededef963faf756d31ae58347da97779c4e38
parent2916093c109151116a264f93af87c7b648acd8ca (diff)
downloadotp-ce9cab49a50e83ed902c659c699bd96d24f164f4.tar.gz
otp-ce9cab49a50e83ed902c659c699bd96d24f164f4.tar.bz2
otp-ce9cab49a50e83ed902c659c699bd96d24f164f4.zip
asn1: Remove unused variable in asn1_erl_nif.c
-rw-r--r--lib/asn1/c_src/asn1_erl_nif.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/asn1/c_src/asn1_erl_nif.c b/lib/asn1/c_src/asn1_erl_nif.c
index 9c9f83bc2a..accd368af1 100644
--- a/lib/asn1/c_src/asn1_erl_nif.c
+++ b/lib/asn1/c_src/asn1_erl_nif.c
@@ -580,7 +580,7 @@ int per_insert_bits_as_bits(int desired_no, int no_bytes,
unsigned char **input_ptr, unsigned char **output_ptr, int *unused) {
unsigned char *in_ptr = *input_ptr;
unsigned char val;
- int no_bits, ret, ret2;
+ int no_bits, ret;
if (desired_no == (no_bytes * 8)) {
if (per_insert_octets_unaligned(no_bytes, &in_ptr, output_ptr, *unused)
@@ -606,8 +606,7 @@ int per_insert_bits_as_bits(int desired_no, int no_bytes,
== ASN1_ERROR
)
return ASN1_ERROR;
- ret2 = per_pad_bits(desired_no - (no_bytes * 8), output_ptr, unused);
- /* printf("ret2 = %d\n\r",ret2); */
+ per_pad_bits(desired_no - (no_bytes * 8), output_ptr, unused);
ret = CEIL(desired_no,8);
/* printf("ret = %d\n\r",ret); */
}