diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-16 14:08:47 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-16 14:08:47 -0700 |
commit | db1ee0a836f4938dc14014c6341fcb11ef66e929 (patch) | |
tree | 88f4765a244382aba3faf23c2d898e317d0758b5 /stdlib/gmp-impl.h | |
parent | 30f696374d434578a159712552f3da533f02e8dd (diff) | |
download | glibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.zip glibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.tar.gz glibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.tar.bz2 |
Suppress -Wunused-but-set warnings in GMP code.
Diffstat (limited to 'stdlib/gmp-impl.h')
-rw-r--r-- | stdlib/gmp-impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/gmp-impl.h b/stdlib/gmp-impl.h index f6454ee..7e94624 100644 --- a/stdlib/gmp-impl.h +++ b/stdlib/gmp-impl.h @@ -1,6 +1,6 @@ /* Include file for internal GNU MP types and definitions. -Copyright (C) 1991, 1993, 1994, 1995, 1996, 2011 Free Software Foundation, Inc. +Copyright (C) 1991-2012 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -216,7 +216,8 @@ extern mp_size_t __gmp_default_fp_limb_precision; has to be set. Put the quotient in Q and the remainder in R. */ #define udiv_qrnnd_preinv(q, r, nh, nl, d, di) \ do { \ - mp_limb_t _q, _ql, _r; \ + mp_limb_t _ql __attribute__ ((unused)); \ + mp_limb_t _q, _r; \ mp_limb_t _xh, _xl; \ umul_ppmm (_q, _ql, (nh), (di)); \ _q += (nh); /* DI is 2**BITS_PER_MP_LIMB too small */\ |