From: Steve Ellcey Date: Thu, 24 Sep 2015 23:12:49 +0000 (-0700) Subject: Add unused attribute to declaration for mips16 builds. X-Git-Tag: glibc-2.23~434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e977b0033c7b9480bbd507c03912ed927f28f4;p=thirdparty%2Fglibc.git 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. --- diff --git a/sysdeps/mips/math_private.h b/sysdeps/mips/math_private.h index baa5f28fd2c..3db02734207 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);