This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-722-gbe14d48


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  be14d48f5add22dd5b2615730fb9a72c48c5ae68 (commit)
      from  ecd4caf9783c99fb068a100c35899a0c3a3c6d98 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=be14d48f5add22dd5b2615730fb9a72c48c5ae68

commit be14d48f5add22dd5b2615730fb9a72c48c5ae68
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 20 00:05:23 2012 +0000

    Fix more set-but-not-used warnings in _itowa.c.

diff --git a/ChangeLog b/ChangeLog
index f8dd00b..6a2c45d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
 
+	* stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
+	DUMMY variables with __attribute__ ((unused)).
+
 	* bits/byteswap.h: Include <bits/types.h>.
 	(__bswap_64): Use __uint64_t instead of unsigned long long int.
 
diff --git a/stdio-common/_itowa.c b/stdio-common/_itowa.c
index 6561ee1..f50893d 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;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    3 +++
 stdio-common/_itowa.c |    6 ++++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]