Bug 1531987
| Summary: | increment of a boolean expression warning | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Varsha <varao> |
| Component: | build | Assignee: | bugs <bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | atumball, bugs, varao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-4.0.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-08 04:23:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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/ |
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