From 3e91ec07e464ffc0f039283f6078b34e596b2086 Mon Sep 17 00:00:00 2001 From: Gaƫl PORTAY Date: Sat, 2 May 2015 12:18:22 +0200 Subject: Fix unused but set variable warnings [-Werror=unused-but-set-variable] --- libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libtomcrypt/src/pk') diff --git a/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c b/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c index b94a50c..8cbcdf3 100644 --- a/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c +++ b/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c @@ -40,7 +40,7 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) 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 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map) bitcnt = 1; buf = 0; digidx = mp_get_digit_count(k) - 1; - bitcpy = bitbuf = 0; - first = 1; /* perform ops */ for (;;) { -- cgit v1.2.3