[Bugs] [Bug 1314291] New: tier: GCC throws Unused variable warning for conf in tier_link_cbk function

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 3 10:42:47 UTC 2016


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

            Bug ID: 1314291
           Summary: tier:  GCC throws Unused variable warning for conf in
                    tier_link_cbk function
           Product: GlusterFS
           Version: mainline
         Component: tiering
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:
When compiled on F23, we see warning for unused variable.

/home/jenkins/root/workspace/Manually_triggered_regression/xlators/cluster/dht/src/tier-common.c:
In function ‘tier_link_cbk’:
10:37:27
/home/jenkins/root/workspace/Manually_triggered_regression/xlators/cluster/dht/src/tier-common.c:33:23:
warning: variable ‘conf’ set but not used [-Wunused-but-set-variable]
10:37:27          dht_conf_t   *conf   = NULL;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list