diff options
author | Steve Ellcey <sellcey@mips.com> | 2015-09-24 16:12:49 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@mips.com> | 2015-09-24 16:12:49 -0700 |
commit | 35e977b0033c7b9480bbd507c03912ed927f28f4 (patch) | |
tree | 4e41321b2ffed77e2ccbe1f5ed62e8ad261fb1dc | |
parent | b2a64460ba9aca39e92731da67cc6344acb483bc (diff) | |
download | glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.zip glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.tar.gz glibc-35e977b0033c7b9480bbd507c03912ed927f28f4.tar.bz2 |
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.
-rw-r--r-- | sysdeps/mips/math_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/math_private.h b/sysdeps/mips/math_private.h index baa5f28..3db0273 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); |