From: Ian Campbell Date: Fri, 22 Jan 2016 14:27:28 +0000 (+0000) Subject: xenalyze: fix misleading indentation. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ebdba150bff1d914805d60efa576337bbef0c305;p=people%2Fliuw%2Flibxenctrl-split%2Fxen.git xenalyze: fix misleading indentation. gcc-6 adds -Wmisleading-indentation which found these issues. xenalyze.c: In function 'weighted_percentile': xenalyze.c:2136:18: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] L=I; L_weight = I_weight; ^~~~~~~~ xenalyze.c:2135:9: note: ...this 'if' clause, but it is not if(J_weight Reviewed-by: George Dunlap --- diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c index 5a2735ceea..4bcaf8394c 100644 --- a/tools/xentrace/xenalyze.c +++ b/tools/xentrace/xenalyze.c @@ -2132,10 +2132,14 @@ float weighted_percentile(float * A, /* values */ } while (I <= J); /* Keep going until our pointers meet or pass */ /* Re-adjust L and R, based on which element we're looking for */ - if(J_weight