path: root/
diff options
authorKaleb S KEITHLEY <>2016-01-05 07:52:25 -0500
committerJeff Darcy <>2016-01-05 18:07:37 -0800
commita2119ef0f18d51500f5b496caf8dfd8f192dd490 (patch)
tree03221ae9df6f35944a9d870101067ecc12540148 /
parent1e779acec75842b0e8d5a34ac2ea52f9caeff4d1 (diff)
dht: missleading indendentation, gcc-6
gcc-6 now has -Wmisleading-indentation as part of -Wall. compiling with gcc-6 gives this warning. ... dht-diskusage.c: In function ‘dht_subvol_has_err’: dht-diskusage.c:361:33: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] goto out; ^~~~ dht-diskusage.c:358:25: note: ...this ‘if’ clause, but it is not if (conf->decommissioned_bricks[i] && ^~ ... Inspection of the source shows that without braces the loop is terminated prematurely. Change-Id: Ica48a8c59ee5d0a206797827d7920259d33b47ec BUG: 1295784 Signed-off-by: Kaleb S KEITHLEY <> Reviewed-on: Reviewed-by: N Balachandran <> Reviewed-by: Shyamsundar Ranganathan <> Tested-by: Gluster Build System <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions