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

bugzilla at redhat.com bugzilla at redhat.com
Wed May 11 16:55:33 UTC 2016


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

Kaleb KEITHLEY <kkeithle at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |Triaged
           Assignee|bugs at gluster.org            |amukherj at redhat.com
            Summary|mgmt/glusterd: clang        |mgmt/glusterd: clang
                   |compile warning in          |compile warnings in
                   |glusterd-utils.c            |glusterd-utils.c,
                   |                            |glusterd-snapshot.c



--- Comment #1 from Kaleb KEITHLEY <kkeithle at redhat.com> ---
  CC       glusterd_la-glusterd-snapshot.lo
glusterd-snapshot.c:4018:23: warning: comparison of constant -1 with expression
of type 'gf_boolean_t' (aka 'enum _gf_boolean') is always false
[-Wtautological-constant-out-of-range-compare]
        if (timestamp == -1) {
            ~~~~~~~~~ ^  ~~
1 warning generated.

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