]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix "set but not used" warnings for X##_s in soft-fp.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 5 Dec 2012 20:04:32 +0000 (20:04 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 5 Dec 2012 20:04:32 +0000 (20:04 +0000)
ChangeLog
soft-fp/op-common.h

index a577d3d853f1f5a57b07e9965c46133ffaf205a5..0acc46be89faa29f97e1c72bb27d381db6c6ead4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
 
+       * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
+       ((unused)).
+
        * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
 
        * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
index 12fb16e5efe9eb4fe57ea71cd4534eaa91ead5b4..8855ad3acf8e2c88c21e98b9d55b261506fb6631 100644 (file)
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define _FP_DECL(wc, X)                                                \
-  _FP_I_TYPE X##_c __attribute__((unused)), X##_s, X##_e;      \
+#define _FP_DECL(wc, X)                                \
+  _FP_I_TYPE X##_c __attribute__((unused));    \
+  _FP_I_TYPE X##_s __attribute__((unused));    \
+  _FP_I_TYPE X##_e;                            \
   _FP_FRAC_DECL_##wc(X)
 
 /*