[Bugs] [Bug 1531987] New: increment of a boolean expression warning

bugzilla at redhat.com bugzilla at redhat.com
Sun Jan 7 03:40:43 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1531987

            Bug ID: 1531987
           Summary: increment of a boolean expression warning
           Product: GlusterFS
           Version: mainline
         Component: build
          Assignee: bugs at gluster.org
          Reporter: varao at redhat.com
                CC: bugs at gluster.org



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

-- 
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