From 35e977b0033c7b9480bbd507c03912ed927f28f4 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 24 Sep 2015 16:12:49 -0700 Subject: Add unused attribute to declaration for mips16 builds. 2015-09-24 Steve Ellcey * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused. --- sysdeps/mips/math_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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); -- cgit 1.4.1