[Bugs] [Bug 1335251] mgmt/glusterd: clang compile warnings in glusterd-snapshot.c

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 25 08:10:12 UTC 2017


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

Atin Mukherjee <amukherj at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|mgmt/glusterd: clang        |mgmt/glusterd: clang
                   |compile warnings in         |compile warnings in
                   |glusterd-utils.c,           |glusterd-snapshot.c
                   |glusterd-snapshot.c         |



--- Comment #2 from Atin Mukherjee <amukherj at redhat.com> ---
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)

The above has been fixed by http://review.gluster.org/14818 .

The other snapshot issue highlighted in comment 1 is yet to be addressed, I am
moving this BZ to snapshot component now with a change in the title.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MoI8cnfq42&a=cc_unsubscribe


More information about the Bugs mailing list