From 8771b17229c0b19f74789455913b10c1c5eaa320 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 11 Aug 2017 10:26:28 +0200 Subject: Fix unused variable warnings under FreeBSD. --- lib/fuse_lowlevel.c | 1 + lib/mount_bsd.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 34bff00..ff7de82 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2978,6 +2978,7 @@ out_free: */ int fuse_req_getgroups(fuse_req_t req, int size, gid_t list[]) { + (void) req; (void) size; (void) list; return -ENOSYS; } #endif diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c index 31b41de..5962e64 100644 --- a/lib/mount_bsd.c +++ b/lib/mount_bsd.c @@ -108,6 +108,7 @@ unsigned get_max_read(struct mount_opts *o) static int fuse_mount_opt_proc(void *data, const char *arg, int key, struct fuse_args *outargs) { + (void) outargs; struct mount_opts *mo = data; switch (key) { @@ -125,8 +126,6 @@ static int fuse_mount_opt_proc(void *data, const char *arg, int key, void fuse_kern_unmount(const char *mountpoint, int fd) { - char *ep, dev[128]; - struct stat sbuf; unmount(mountpoint, MNT_FORCE); close(fd); } -- cgit v1.2.3