[Bugs] [Bug 1335232] features/index: clang compile warnings in index.c

bugzilla at redhat.com bugzilla at redhat.com
Mon May 23 08:13:31 UTC 2016


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



--- Comment #6 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14409 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit e221827c18ad4161a8e54ad67c9128ad234b8c03
Author: Niels de Vos <ndevos at redhat.com>
Date:   Wed May 18 12:23:59 2016 +0200

    index: improve compiler warning fix

    Commit 137bd83029458ecd461718a891c74cd1afd8f6cb introduced some
    typecasting to work around a compiler warning. It is much cleaner to
    add a -1 value in the enumeration and use that in if-statements.

    BUG: 1335232
    Change-Id: I830a565b8d96d7b51ff775e94aa23dd567ffe0d9
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/14409
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle 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=cALbpO5Sa3&a=cc_unsubscribe


More information about the Bugs mailing list