1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Suppress -Wunused-but-set warnings in GMP code.

This commit is contained in:
Roland McGrath
2012-08-16 14:08:47 -07:00
parent 30f696374d
commit db1ee0a836
6 changed files with 32 additions and 15 deletions

View File

@ -6,7 +6,7 @@
QUOT_PTR and DIVIDEND_PTR might point to the same limb.
Copyright (C) 1991, 1993, 1994, 1996 Free Software Foundation, Inc.
Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@ -54,7 +54,7 @@ mpn_divmod_1 (quot_ptr, dividend_ptr, dividend_size, divisor_limb)
{
mp_size_t i;
mp_limb_t n1, n0, r;
mp_limb_t dummy;
mp_limb_t dummy __attribute__ ((unused));
/* ??? Should this be handled at all? Rely on callers? */
if (dividend_size == 0)