aboutsummaryrefslogtreecommitdiff
path: root/stdlib/divmod_1.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-16 14:08:47 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-16 14:08:47 -0700
commitdb1ee0a836f4938dc14014c6341fcb11ef66e929 (patch)
tree88f4765a244382aba3faf23c2d898e317d0758b5 /stdlib/divmod_1.c
parent30f696374d434578a159712552f3da533f02e8dd (diff)
downloadglibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.zip
glibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.tar.gz
glibc-db1ee0a836f4938dc14014c6341fcb11ef66e929.tar.bz2
Suppress -Wunused-but-set warnings in GMP code.
Diffstat (limited to 'stdlib/divmod_1.c')
-rw-r--r--stdlib/divmod_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/divmod_1.c b/stdlib/divmod_1.c
index b11fd7b..4e6966b 100644
--- a/stdlib/divmod_1.c
+++ b/stdlib/divmod_1.c
@@ -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)