about summary refs log tree commit diff
path: root/soft-fp/op-common.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-05 20:04:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-05 20:04:32 +0000
commita0d7066a1c6b86adbf1fa13f14038e30885cf1da (patch)
treed4d15c7347b6ba9066853d73ff038adc31eeb266 /soft-fp/op-common.h
parent66ca5a5b9375ddf95334d59fdde15a962f2c19dd (diff)
downloadglibc-a0d7066a1c6b86adbf1fa13f14038e30885cf1da.tar.gz
glibc-a0d7066a1c6b86adbf1fa13f14038e30885cf1da.tar.xz
glibc-a0d7066a1c6b86adbf1fa13f14038e30885cf1da.zip
Fix "set but not used" warnings for X##_s in soft-fp.
Diffstat (limited to 'soft-fp/op-common.h')
-rw-r--r--soft-fp/op-common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 12fb16e5ef..8855ad3acf 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -29,8 +29,10 @@
    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)
 
 /*