Description of problem: On compiling following warning is generated: dht-common.c: In function ‘dht_readdirp_cbk’: dht-common.c:6475:56: warning: increment of a boolean expression [-Wbool-operation] layout->search_unhashed++; How reproducible: Always Steps to Reproduce: 1. ./autogen.sh 2. ./configure 3. make Additional info: (GCC) 7.2.1 flex 2.6.1
REVIEW: https://review.gluster.org/19156 (cluster/dht: Change datatype of search_unhashed variable) posted (#1) for review on master by
COMMIT: https://review.gluster.org/19156 committed in master by with a commit message- cluster/dht: Change datatype of search_unhashed variable Variable search_unhashed is of type boolean, change it to integer type. This fixes the warning increment of a boolean expression. BUG: 1531987 Change-Id: Ibf153f6a9ad704da38bff346b6a21a71323ed9bb Signed-off-by: Varsha Rao <varao>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report. glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html [2] https://www.gluster.org/pipermail/gluster-users/