aboutsummaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'mpi')
-rw-r--r--mpi/mpi-internal.h3
-rw-r--r--mpi/mpih-div.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h
index 46da08d0d..9f79781f4 100644
--- a/mpi/mpi-internal.h
+++ b/mpi/mpi-internal.h
@@ -157,7 +157,8 @@ typedef int mpi_size_t; /* (must be a signed type) */
*/
#define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \
do { \
- mpi_limb_t _q, _ql, _r; \
+ mpi_limb_t _ql GNUPG_GCC_ATTR_UNUSED; \
+ mpi_limb_t _q, _r; \
mpi_limb_t _xh, _xl; \
umul_ppmm (_q, _ql, (nh), (di)); \
_q += (nh); /* DI is 2**BITS_PER_MPI_LIMB too small */ \
diff --git a/mpi/mpih-div.c b/mpi/mpih-div.c
index 235a8107b..eedfabf55 100644
--- a/mpi/mpih-div.c
+++ b/mpi/mpih-div.c
@@ -49,7 +49,7 @@ mpihelp_mod_1(mpi_ptr_t dividend_ptr, mpi_size_t dividend_size,
{
mpi_size_t i;
mpi_limb_t n1, n0, r;
- int dummy;
+ int dummy GNUPG_GCC_ATTR_UNUSED;
/* Botch: Should this be handled at all? Rely on callers? */
if( !dividend_size )
@@ -398,7 +398,7 @@ mpihelp_divmod_1( mpi_ptr_t quot_ptr,
{
mpi_size_t i;
mpi_limb_t n1, n0, r;
- int dummy;
+ int dummy GNUPG_GCC_ATTR_UNUSED;
if( !dividend_size )
return 0;