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

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 4 16:48:40 UTC 2017


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18062 committed in master by mohammed rafi 
kc (rkavunga at redhat.com) 
------
commit d692f167662300ffad8d3ed44672182130025c75
Author: Sunny Kumar <sunkumar at redhat.com>
Date:   Fri Aug 18 14:56:46 2017 +0530

    snapshot: clang compile warning

    Warning type: NO_EFFECT
    xlators/mgmt/glusterd/src/glusterd-snapshot.c:4004 : warning: comparison of
    constant -1 with expression of type 'gf_boolean_t' (aka 'enum _gf_boolean')
    is always false.

    solution : "timestamp" was formerly declared as gf_boolean_t, now changed
to
                int.

    Change-Id: Ie461537f06fe2971e2b09a428a22331808c41a13
    BUG: 1335251
    Signed-off-by: Sunny Kumar <sunkumar at redhat.com>
    Reviewed-on: https://review.gluster.org/18062
    Tested-by: Sunny Kumar
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>
    Reviewed-by: mohammed rafi  kc <rkavunga at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>

-- 
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=QTLjqy1Ff6&a=cc_unsubscribe


More information about the Bugs mailing list