Add unused attribute to declaration for mips16 builds.
authorSteve Ellcey <sellcey@mips.com>
Thu, 24 Sep 2015 23:12:49 +0000 (16:12 -0700)
committerSteve Ellcey <sellcey@mips.com>
Thu, 24 Sep 2015 23:12:49 +0000 (16:12 -0700)
    2015-09-24  Steve Ellcey  <sellcey@imgtec.com>

  * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.

sysdeps/mips/math_private.h

index baa5f28..3db0273 100644 (file)
@@ -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);