diff options
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h')
-rw-r--r-- | plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h b/plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h index f9c1f9d4db..898ca47ef0 100644 --- a/plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h +++ b/plugins/MirOTR/Libgcrypt/mpi/mpi-internal.h @@ -92,7 +92,7 @@ typedef int mpi_size_t; /* (must be a signed type) */ do { \ mpi_size_t _i; \ for( _i = 0; _i < (n); _i++ ) \ - (d)[_i] = (d)[_i]; \ + (d)[_i] = (s)[_i]; \ } while (0) #define MPN_COPY_DECR( d, s, n ) \ @@ -145,7 +145,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 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 */ \ @@ -275,4 +276,3 @@ mpi_limb_t _gcry_mpih_rshift( mpi_ptr_t wp, mpi_ptr_t up, mpi_size_t usize, #endif #endif /*G10_MPI_INTERNAL_H*/ - |