[Bugs] [Bug 1295784] New: dht: misleading indentation, gcc-6
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jan 5 12:49:07 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1295784
Bug ID: 1295784
Summary: dht: misleading indentation, gcc-6
Product: GlusterFS
Version: mainline
Component: distribute
Assignee: bugs at gluster.org
Reporter: kkeithle at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
compile with gcc-6. -Wall now includes -Wmisleading-indentation, which reports
this:
...
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] &&
^~
...
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list