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.
This commit is contained in:
parent
b2a64460ba
commit
35e977b003
|
@ -106,7 +106,7 @@ libc_feholdexcept_setround_mips (fenv_t *envp, int round)
|
||||||
static __always_inline void
|
static __always_inline void
|
||||||
libc_fesetenv_mips (fenv_t *envp)
|
libc_fesetenv_mips (fenv_t *envp)
|
||||||
{
|
{
|
||||||
fpu_control_t cw;
|
fpu_control_t cw __attribute__ ((unused));
|
||||||
|
|
||||||
/* Read current state to flush fpu pipeline. */
|
/* Read current state to flush fpu pipeline. */
|
||||||
_FPU_GETCW (cw);
|
_FPU_GETCW (cw);
|
||||||
|
|
Loading…
Reference in New Issue