[Bugs] [Bug 1402254] New: compile warning unused variable
bugzilla at redhat.com
bugzilla at redhat.com
Wed Dec 7 06:53:19 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1402254
Bug ID: 1402254
Summary: compile warning unused variable
Product: GlusterFS
Version: mainline
Component: glusterd
Severity: low
Assignee: bugs at gluster.org
Reporter: madam at redhat.com
CC: bugs at gluster.org
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:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list