Description of problem: When compiling without bd xlator, we get a warning: CC glusterd_la-glusterd-utils.lo glusterd-utils.c: In function ‘glusterd_brickinfo_new_from_brick’: glusterd-utils.c:1081:33: warning: variable ‘vg’ set but not used [-Wunused-but-set-variable] char *vg = NULL; ^~ Version-Release number of selected component (if applicable): master How reproducible: always Steps to Reproduce: 1. ./configure 2. make 3. look at output Actual results: get compiler warning Expected results: don't get compiler warning Additional info:
patch coming...
REVIEW: http://review.gluster.org/16049 (glusterd: fix compiler warning (unused var) if bd xlator is not enabled) posted (#1) for review on master by Michael Adam (obnox)
REVIEW: https://review.gluster.org/16049 (glusterd: fix compiler warning (unused var) if bd xlator is not enabled) posted (#2) for review on master by Atin Mukherjee (amukherj)
REVIEW: https://review.gluster.org/16049 (glusterd: fix compiler warning (unused var) if bd xlator is not enabled) posted (#3) for review on master by Atin Mukherjee (amukherj)
COMMIT: https://review.gluster.org/16049 committed in master by Atin Mukherjee (amukherj) ------ commit 7292905c3a3291a98b55b36aed713a10553d7523 Author: Michael Adam <obnox> Date: Wed Dec 7 07:45:57 2016 +0100 glusterd: fix compiler warning (unused var) if bd xlator is not enabled BUG: 1402254 Change-Id: Id4450c5e00e9eb6d63dcdf65b0a13bc535a32d98 Signed-off-by: Michael Adam <obnox> Reviewed-on: https://review.gluster.org/16049 Tested-by: Atin Mukherjee <amukherj> NetBSD-regression: NetBSD Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report. glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html [2] https://www.gluster.org/pipermail/gluster-users/