From 873853f1a8fcc124959685daf2d210da035794c5 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 25 Jun 2016 22:28:43 +0100 Subject: [PATCH] lib/libm: Format code to pass gcc v6.1.1 warning. gcc 6.1.1 warns when indentation is misleading, and in this case the formatting of the code really is misleading. So adjust the formatting to be clear of the meaning of the code. --- lib/libm/kf_rem_pio2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libm/kf_rem_pio2.c b/lib/libm/kf_rem_pio2.c index 48b1547203..e267b65f9a 100644 --- a/lib/libm/kf_rem_pio2.c +++ b/lib/libm/kf_rem_pio2.c @@ -86,7 +86,8 @@ twon8 = 3.9062500000e-03; /* 0x3b800000 */ /* compute q[0],q[1],...q[jk] */ for (i=0;i<=jk;i++) { - for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; + for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; + q[i] = fw; } jz = jk;