Mercurial > dropbear
diff libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c @ 1092:0e1465709336
Fix unused but set variable warnings [-Werror=unused-but-set-variable]
author | Gaël PORTAY <gael.portay@gmail.com> |
---|---|
date | Sat, 02 May 2015 12:18:22 +0200 |
parents | 0cbe8f6dbf9e |
children | f849a5ca2efc |
line wrap: on
line diff
--- a/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c Sat May 02 12:16:06 2015 +0200 +++ b/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c Sat May 02 12:18:22 2015 +0200 @@ -40,7 +40,7 @@ int i, j, err; void *mu, *mp; unsigned long buf; - int first, bitbuf, bitcpy, bitcnt, mode, digidx; + int bitcnt, mode, digidx; LTC_ARGCHK(k != NULL); LTC_ARGCHK(G != NULL); @@ -98,8 +98,6 @@ bitcnt = 1; buf = 0; digidx = mp_get_digit_count(k) - 1; - bitcpy = bitbuf = 0; - first = 1; /* perform ops */ for (;;) {