about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-20 00:05:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-20 00:05:23 +0000
commitbe14d48f5add22dd5b2615730fb9a72c48c5ae68 (patch)
treeb479c73ea42c1fe0c57d9fc9f8727ce4d18faa6d /stdio-common
parentecd4caf9783c99fb068a100c35899a0c3a3c6d98 (diff)
downloadglibc-be14d48f5add22dd5b2615730fb9a72c48c5ae68.tar.gz
glibc-be14d48f5add22dd5b2615730fb9a72c48c5ae68.tar.xz
glibc-be14d48f5add22dd5b2615730fb9a72c48c5ae68.zip
Fix more set-but-not-used warnings in _itowa.c.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/_itowa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdio-common/_itowa.c b/stdio-common/_itowa.c
index 6561ee1585..f50893dfcd 100644
--- a/stdio-common/_itowa.c
+++ b/stdio-common/_itowa.c
@@ -159,7 +159,8 @@ _itowa (value, buflim, base, upper_case)
 	if (brec->flag)
 	  while (value != 0)
 	    {
-	      mp_limb_t quo, rem, x, dummy;
+	      mp_limb_t quo, rem, x;
+	      mp_limb_t dummy __attribute__ ((unused));
 
 	      umul_ppmm (x, dummy, value, base_multiplier);
 	      quo = (x + ((value - x) >> 1)) >> (brec->post_shift - 1);
@@ -170,7 +171,8 @@ _itowa (value, buflim, base, upper_case)
 	else
 	  while (value != 0)
 	    {
-	      mp_limb_t quo, rem, x, dummy;
+	      mp_limb_t quo, rem, x;
+	      mp_limb_t dummy __attribute__ ((unused));
 
 	      umul_ppmm (x, dummy, value, base_multiplier);
 	      quo = x >> brec->post_shift;