Bug 1488843 - Fix unused var on FreeBSD and NetBSD
Summary: Fix unused var on FreeBSD and NetBSD
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 10:17 UTC by M. Scherer
Modified: 2018-09-18 08:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-18 08:16:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description M. Scherer 2017-09-06 10:17:24 UTC
Description of problem:

Building with clang on FreeBSD show this warning:

        contrib/fuse-lib/mount.c: In function 'fuse_mount_sys':
        contrib/fuse-lib/mount.c:357:15: warning: unused variable 'fstype' [-Wunused-variable]
                 char *fstype = "fuse.glusterfs";

Comment 1 Worker Ant 2017-09-06 10:18:02 UTC
REVIEW: https://review.gluster.org/18217 (Fix unused var on FreeBSD and NetBSD) posted (#1) for review on master by Michael Scherer (misc)

Comment 2 Worker Ant 2017-09-06 18:46:22 UTC
REVIEW: https://review.gluster.org/18217 (Fix unused var on FreeBSD) posted (#2) for review on master by Michael Scherer (misc)

Comment 3 Worker Ant 2017-09-07 11:27:04 UTC
REVIEW: https://review.gluster.org/18217 (Fix unused var on FreeBSD) posted (#3) for review on master by Michael Scherer (misc)

Comment 4 Amar Tumballi 2018-09-18 08:16:03 UTC
Clang is reporting this error, and we are tracking this in bz#1622665


Note You need to log in before you can comment on or make changes to this bug.