[Bugs] [Bug 1335251] New: mgmt/glusterd: clang compile warning in glusterd-utils.c

bugzilla at redhat.com bugzilla at redhat.com
Wed May 11 16:53:20 UTC 2016


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

            Bug ID: 1335251
           Summary: mgmt/glusterd: clang compile warning in
                    glusterd-utils.c
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org



Description of problem:


Making all in mgmt
Making all in glusterd
Making all in src
  CC       glusterd_la-glusterd.lo
  CC       glusterd_la-glusterd-handler.lo
  CC       glusterd_la-glusterd-sm.lo
  CC       glusterd_la-glusterd-op-sm.lo
  CC       glusterd_la-glusterd-utils.lo
glusterd-utils.c:7362:21: warning: address of array 'rebal->rebalance_id' will
always evaluate to 'true' [-Wpointer-bool-conversion]
        if (!rebal->rebalance_id)
            ~~~~~~~~^~~~~~~~~~~~
1 warning generated.




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