diff options
author | Vincent Chen <vincentc@andestech.com> | 2018-11-22 11:14:38 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-11-22 18:13:42 +0800 |
commit | 83312f1b7ae205dca647bf52bbe2d51303cdedfb (patch) | |
tree | 5dda8635b2694d145c3ef5f731620b45787cee9e /arch | |
parent | 7adb3e998f5bea3e1fd2f76c1cf80d76b8af6626 (diff) |
math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
_FP_ROUND_ZERO is defined as 0 and used as a statemente in macro
_FP_ROUND. This generates "error: statement with no effect
[-Werror=unused-value]" from gcc. Defining _FP_ROUND_ZERO as (void)0 to
fix it.
This modification is quoted from glibc 'commit <In libc/:>
(8ed1e7d5894000c155acbd06f)'
Signed-off-by: Vincent Chen <vincentc@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions