war on -Werror, part 2: unused variables and dead code

This commit is contained in:
Devin J. Pohly
2012-12-26 20:35:02 -05:00
parent 1f80e3be4c
commit 7aac8c5ae3
8 changed files with 10 additions and 28 deletions
@@ -28,7 +28,7 @@ int der_length_sequence(ltc_asn1_list *list, unsigned long inlen,
unsigned long *outlen)
{
int err, type;
unsigned long size, x, y, z, i;
unsigned long size, x, y, i;
void *data;
LTC_ARGCHK(list != NULL);
@@ -137,7 +137,6 @@ int der_length_sequence(ltc_asn1_list *list, unsigned long inlen,
}
/* calc header size */
z = y;
if (y < 128) {
y += 2;
} else if (y < 256) {