[Bugs] [Bug 1402261] cli: compile warnings (unused var) if building without bd xlator

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 14 18:21:08 UTC 2016


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



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15982 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 75ad1dd5ef98053be1fd1e8aa4a1fef1ac32ef3a
Author: Vijay Bellur <vbellur at redhat.com>
Date:   Wed Nov 30 12:54:05 2016 -0500

    cli: Suppress unused but set warnings

    GCC has the following complaint during compilation:

    ../../../cli/src/cli-rpc-ops.c: In function ‘gf_cli_get_volume_cbk’:
    ../../../cli/src/cli-rpc-ops.c:846:36: warning: variable ‘caps’ set but not
used
    [-Wunused-but-set-variable]
             char                      *caps                 = NULL;

    Change-Id: Ia378a6c83ba70ae35290802b7b38ad2830c0956c
    BUG: 1402261
    Signed-off-by: Vijay Bellur <vbellur at redhat.com>
    Reviewed-on: http://review.gluster.org/15982
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: 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=pYBxw2vIvC&a=cc_unsubscribe


More information about the Bugs mailing list