aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2015-09-24 16:12:49 -0700
committerSteve Ellcey <sellcey@mips.com>2015-09-24 16:12:49 -0700
commit35e977b0033c7b9480bbd507c03912ed927f28f4 (patch)
tree4e41321b2ffed77e2ccbe1f5ed62e8ad261fb1dc /sysdeps/mips
parentb2a64460ba9aca39e92731da67cc6344acb483bc (diff)
downloadglibc-35e977b0033c7b9480bbd507c03912ed927f28f4.tar
glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.tar.gz
glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.tar.bz2
glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.zip
Add unused attribute to declaration for mips16 builds.
2015-09-24 Steve Ellcey <sellcey@imgtec.com> * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/math_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/math_private.h b/sysdeps/mips/math_private.h
index baa5f28fd2..3db0273420 100644
--- a/sysdeps/mips/math_private.h
+++ b/sysdeps/mips/math_private.h
@@ -106,7 +106,7 @@ libc_feholdexcept_setround_mips (fenv_t *envp, int round)
static __always_inline void
libc_fesetenv_mips (fenv_t *envp)
{
- fpu_control_t cw;
+ fpu_control_t cw __attribute__ ((unused));
/* Read current state to flush fpu pipeline. */
_FPU_GETCW (cw);